]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/infiniband/core/cm.c: convert to using idr_alloc_cyclic()
authorZhao Hongjiang <zhaohongjiang@huawei.com>
Wed, 19 Jun 2013 00:05:34 +0000 (10:05 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 19 Jun 2013 07:12:46 +0000 (17:12 +1000)
commitfdec72de6c00166a35e1608a3b38e705b07fbb7b
tree5561d70317903deb2b5c8c9e6b29a645a24ec54b
parent0e2a9e95352d40931c5d373932c42aefd42a0e37
drivers/infiniband/core/cm.c: convert to using idr_alloc_cyclic()

commit 3e6628c4b347 ("idr: introduce idr_alloc_cyclic()") adds a new
idr_alloc_cyclic routine and converts several of these users to it.  This
is just a missed one - add it.

Signed-off-by: Zhao Hongjiang <zhaohongjiang@huawei.com>
Cc: Roland Dreier <roland@kernel.org>
Cc: Tejun Heo <tj@kernel.org>
Cc: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/infiniband/core/cm.c