IB/core: Make all casts in ib_device_cap_flags enum consistent
authorMax Gurtovoy <maxg@mellanox.com>
Mon, 6 Jun 2016 16:34:40 +0000 (19:34 +0300)
committerDoug Ledford <dledford@redhat.com>
Tue, 7 Jun 2016 13:50:55 +0000 (09:50 -0400)
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>
include/rdma/ib_verbs.h

index c97357b6c276a319be2f7335ff0b1bb0321a9478..7e440d41487aa8671fbb8952fb01e2bbf63b11f0 100644 (file)
@@ -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 {