]> 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>
Thu, 27 Jun 2013 23:51:00 +0000 (09:51 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 28 Jun 2013 06:37:14 +0000 (16:37 +1000)
commitf00d7da7680ba899fa4a7211d44ff1f31caba117
treeb5600ef7f915fa91b228db43b926cba6d84cfea8
parent8938cffed9b4af2a6a7f5abb8f74340efae8d33e
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