IB/hfi1: Suppress sparse warnings
authorBart Van Assche <bart.vanassche@sandisk.com>
Fri, 3 Jun 2016 19:11:16 +0000 (12:11 -0700)
committerDoug Ledford <dledford@redhat.com>
Mon, 6 Jun 2016 23:37:23 +0000 (19:37 -0400)
commit55c40648d31d0d97608f266955b8afae74e2b686
tree607f89a033b35327c506977dedeed000353fcd4b
parentd55215c50e4eaa4b906a42ef45884d8fcbadc777
IB/hfi1: Suppress sparse warnings

Avoid that sparse reports the following warnings for the hfi1 driver:

trace.c:217:13: warning: no previous prototype for ‘print_u64_array’ [-Wmissing-prototypes]
user_sdma.c:1361:17: warning: dubious: !x & y

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Cc: Mike Marciniszyn <mike.marciniszyn@intel.com>
Cc: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hfi1/trace.c
drivers/infiniband/hw/hfi1/user_sdma.c