summaryrefslogtreecommitdiffstats
path: root/include/rdma/ib_verbs.h
diff options
context:
space:
mode:
authorMax Gurtovoy <maxg@mellanox.com>2016-06-06 18:34:40 +0200
committerDoug Ledford <dledford@redhat.com>2016-06-07 15:50:55 +0200
commitc7e162a417488f3c79eb09f3c4f1d36f1e042463 (patch)
tree7c4f3ad59cf1d2ce09dab190d657a5c781329093 /include/rdma/ib_verbs.h
parentIB/core: Fix bit curruption in ib_device_cap_flags structure (diff)
downloadlinux-c7e162a417488f3c79eb09f3c4f1d36f1e042463.tar.xz
linux-c7e162a417488f3c79eb09f3c4f1d36f1e042463.zip
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/ib_verbs.h')
-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 {