staging/hfi1: Use BIT macro
authorjubin.john@intel.com <jubin.john@intel.com>
Mon, 11 Jan 2016 23:30:52 +0000 (18:30 -0500)
committerDoug Ledford <dledford@redhat.com>
Tue, 1 Mar 2016 15:36:19 +0000 (10:36 -0500)
commit349ac71ffad79281f3c0dc908cd4b6f7d7dbb477
tree26b80feb083f0700e557eb7fe208701cda4e23c9
parenta06e825a13c363da31936d04645e94b99aeb34e2
staging/hfi1: Use BIT macro

This patch fixes the checkpatch issue:
CHECK: Prefer using the BIT macro

Use of BIT macro for HDRQ_INCREMENT in chip.h causes a change in
format specifier for error message in init.c in order to avoid a
build warning.

Reviewed-by: Dean Luick <dean.luick@intel.com>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Jubin John <jubin.john@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/staging/rdma/hfi1/chip.h
drivers/staging/rdma/hfi1/common.h
drivers/staging/rdma/hfi1/hfi.h
drivers/staging/rdma/hfi1/init.c
drivers/staging/rdma/hfi1/mad.c
drivers/staging/rdma/hfi1/qp.h
drivers/staging/rdma/hfi1/qsfp.h
drivers/staging/rdma/hfi1/sdma.c