提交 9903c8dc 编写于 作者: V Vedang Patel 提交者: David S. Miller

etf: Don't use BIT() in UAPI headers.

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: NVedang Patel <vedang.patel@intel.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 1e08511d
...@@ -988,8 +988,8 @@ struct tc_etf_qopt { ...@@ -988,8 +988,8 @@ struct tc_etf_qopt {
__s32 delta; __s32 delta;
__s32 clockid; __s32 clockid;
__u32 flags; __u32 flags;
#define TC_ETF_DEADLINE_MODE_ON BIT(0) #define TC_ETF_DEADLINE_MODE_ON _BITUL(0)
#define TC_ETF_OFFLOAD_ON BIT(1) #define TC_ETF_OFFLOAD_ON _BITUL(1)
}; };
enum { enum {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册