diff options
Diffstat (limited to 'include/rdma')
-rw-r--r-- | include/rdma/ib_mad.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rdma/ib_mad.h b/include/rdma/ib_mad.h index b513f57e1725..3d81b90cc315 100644 --- a/include/rdma/ib_mad.h +++ b/include/rdma/ib_mad.h | |||
@@ -160,7 +160,7 @@ struct ib_rmpp_hdr { | |||
160 | 160 | ||
161 | typedef u64 __bitwise ib_sa_comp_mask; | 161 | typedef u64 __bitwise ib_sa_comp_mask; |
162 | 162 | ||
163 | #define IB_SA_COMP_MASK(n) ((__force ib_sa_comp_mask) cpu_to_be64(1ull << n)) | 163 | #define IB_SA_COMP_MASK(n) ((__force ib_sa_comp_mask) cpu_to_be64(1ull << (n))) |
164 | 164 | ||
165 | /* | 165 | /* |
166 | * ib_sa_hdr and ib_sa_mad structures must be packed because they have | 166 | * ib_sa_hdr and ib_sa_mad structures must be packed because they have |