IB/hfi1: Fix integrity check flags default values
authorJakub Pawlak <jakub.pawlak@intel.com>
Mon, 10 Oct 2016 13:14:56 +0000 (06:14 -0700)
committerDoug Ledford <dledford@redhat.com>
Tue, 15 Nov 2016 21:16:41 +0000 (16:16 -0500)
commitd9ac4555fb2bcd6b794aaa0b39acad81111d9f42
tree6f0db0c542352bcba065d2ba3281603d775d12ca
parent39eb2795f19233330bc14a8450b4042d784b15a7
IB/hfi1: Fix integrity check flags default values

Prevent setting up integrity check flags when module is loaded
with NO_INTEGRITY capability.

Reviewed-by: Dean Luick <dean.luick@intel.com>
Signed-off-by: Jakub Pawlak <jakub.pawlak@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hfi1/hfi.h
drivers/infiniband/hw/hfi1/pio.c
drivers/infiniband/hw/hfi1/sdma.c