]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/rdma/ib_mad.h
Merge branch 'next' of git://git.infradead.org/users/vkoul/slave-dma
[karo-tx-linux.git] / include / rdma / ib_mad.h
index b513f57e172544d29edf6acec9479f4e7af679dc..3d81b90cc31588b815167c109fec65cf50865538 100644 (file)
@@ -160,7 +160,7 @@ struct ib_rmpp_hdr {
 
 typedef u64 __bitwise ib_sa_comp_mask;
 
-#define IB_SA_COMP_MASK(n) ((__force ib_sa_comp_mask) cpu_to_be64(1ull << n))
+#define IB_SA_COMP_MASK(n) ((__force ib_sa_comp_mask) cpu_to_be64(1ull << (n)))
 
 /*
  * ib_sa_hdr and ib_sa_mad structures must be packed because they have