projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47355b3
)
IB/core: Make all casts in ib_device_cap_flags enum consistent
author
Max Gurtovoy
<
[email protected]
>
Mon, 6 Jun 2016 16:34:40 +0000
(19:34 +0300)
committer
Doug Ledford
<
[email protected]
>
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 <
[email protected]
>
Signed-off-by: Doug Ledford <
[email protected]
>
include/rdma/ib_verbs.h
patch
|
blob
|
history
diff --git
a/include/rdma/ib_verbs.h
b/include/rdma/ib_verbs.h
index c97357b6c276a319be2f7335ff0b1bb0321a9478..7e440d41487aa8671fbb8952fb01e2bbf63b11f0 100644
(file)
--- 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 {