]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
drivers/infiniband/core/cm.c: convert to using idr_alloc_cyclic()
authorZhao Hongjiang <zhaohongjiang@huawei.com>
Thu, 18 Jul 2013 23:56:32 +0000 (09:56 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 18 Jul 2013 23:56:32 +0000 (09:56 +1000)
commitc7a33fa05295e0d35777fdbe687122edb31d7095
tree0b42de2850d7da66d2a3cbaee6925cca879f8a6a
parentac5ad6329e22d24fe9a1277a9404710688cfa5d1
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