summaryrefslogtreecommitdiff
path: root/include/rdma
diff options
context:
space:
mode:
authorMax Gurtovoy <maxg@mellanox.com>2016-06-06 19:34:40 +0300
committerDoug Ledford <dledford@redhat.com>2016-06-07 09:50:55 -0400
commitc7e162a417488f3c79eb09f3c4f1d36f1e042463 (patch)
tree7c4f3ad59cf1d2ce09dab190d657a5c781329093 /include/rdma
parent47355b3cd7d3c9c5226bff7c449b9d269fb17fa6 (diff)
downloadlinux-c7e162a417488f3c79eb09f3c4f1d36f1e042463.tar.gz
linux-c7e162a417488f3c79eb09f3c4f1d36f1e042463.tar.xz
IB/core: Make all casts in ib_device_cap_flags enum consistent
Replace the few u64 casts with ULL to match the rest of the casts. Signed-off-by: Max Gurtovoy <maxg@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include/rdma')
-rw-r--r--include/rdma/ib_verbs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h
index c97357b6c276..7e440d41487a 100644
--- a/include/rdma/ib_verbs.h
+++ b/include/rdma/ib_verbs.h
@@ -219,8 +219,8 @@ enum ib_device_cap_flags {
IB_DEVICE_SIGNATURE_HANDOVER = (1 << 30),
IB_DEVICE_ON_DEMAND_PAGING = (1ULL << 31),
IB_DEVICE_SG_GAPS_REG = (1ULL << 32),
- IB_DEVICE_VIRTUAL_FUNCTION = ((u64)1 << 33),
- IB_DEVICE_RAW_SCATTER_FCS = ((u64)1 << 34),
+ IB_DEVICE_VIRTUAL_FUNCTION = (1ULL << 33),
+ IB_DEVICE_RAW_SCATTER_FCS = (1ULL << 34),
};
enum ib_signature_prot_cap {