IB/ucm: Fix bitmap wrap when devnum > IB_UCM_MAX_DEVICES
authorCarol L Soto <clsoto@linux.vnet.ibm.com>
Thu, 11 Jun 2015 16:06:41 +0000 (11:06 -0500)
committerDoug Ledford <dledford@redhat.com>
Tue, 14 Jul 2015 17:20:12 +0000 (13:20 -0400)
ib_ucm_release_dev clears the wrong bit if devnum is greater
than IB_UCM_MAX_DEVICES.

Signed-off-by: Carol L Soto <clsoto@linux.vnet.ibm.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/ucm.c

Simple merge