summaryrefslogtreecommitdiffstats
path: root/sys/ofed/include/rdma/ib_mad.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/ofed/include/rdma/ib_mad.h')
-rw-r--r--sys/ofed/include/rdma/ib_mad.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ofed/include/rdma/ib_mad.h b/sys/ofed/include/rdma/ib_mad.h
index d3b9401..32f8114 100644
--- a/sys/ofed/include/rdma/ib_mad.h
+++ b/sys/ofed/include/rdma/ib_mad.h
@@ -151,7 +151,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
OpenPOWER on IntegriCloud