IB: find_first_zero_bit() takes unsigned pointer
authorRoland Dreier <rolandd@cisco.com>
Wed, 10 Oct 2007 02:59:04 +0000 (19:59 -0700)
committerRoland Dreier <rolandd@cisco.com>
Wed, 10 Oct 2007 02:59:04 +0000 (19:59 -0700)
commit65d470b3ea52ee1402499d6fcb4632296452e5b1
tree9c1e0a5d9c959b2b92d59c9e309e2ae68cb5c191
parentce423ef50ee1b6b7db63c748034423aa0afce224
IB: find_first_zero_bit() takes unsigned pointer

Fix sparse warning

    drivers/infiniband/core/device.c:142:6: warning: incorrect type in argument 1 (different signedness)
    drivers/infiniband/core/device.c:142:6:    expected unsigned long const *addr
    drivers/infiniband/core/device.c:142:6:    got long *[assigned] inuse

by making the local variable inuse unsigned.  Does not affect generated
code at all.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/core/device.c