Skip to content
  • Roland Dreier's avatar
    IB: find_first_zero_bit() takes unsigned pointer · 65d470b3
    Roland Dreier authored
    
    
    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: default avatarRoland Dreier <rolandd@cisco.com>
    65d470b3