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:
1e08511
)
etf: Don't use BIT() in UAPI headers.
author
Vedang Patel
<vedang.patel@intel.com>
Tue, 25 Jun 2019 22:07:13 +0000
(15:07 -0700)
committer
David S. Miller
<davem@davemloft.net>
Fri, 28 Jun 2019 21:45:33 +0000
(14:45 -0700)
The BIT() macro isn't exported as part of the UAPI interface. So, the
compile-test to ensure they are self contained fails. So, use _BITUL()
instead.
Signed-off-by: Vedang Patel <vedang.patel@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/pkt_sched.h
patch
|
blob
|
history
diff --git
a/include/uapi/linux/pkt_sched.h
b/include/uapi/linux/pkt_sched.h
index 8b2f993cbb773dcfb90dadc306cb98d5a66083fb..f88c4e0bd9e5b899d455c31028415f066e7ccb30 100644
(file)
--- a/
include/uapi/linux/pkt_sched.h
+++ b/
include/uapi/linux/pkt_sched.h
@@
-988,8
+988,8
@@
struct tc_etf_qopt {
__s32 delta;
__s32 clockid;
__u32 flags;
-#define TC_ETF_DEADLINE_MODE_ON
BIT
(0)
-#define TC_ETF_OFFLOAD_ON
BIT
(1)
+#define TC_ETF_DEADLINE_MODE_ON
_BITUL
(0)
+#define TC_ETF_OFFLOAD_ON
_BITUL
(1)
};
enum {