Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9903c8dc authored by Vedang Patel's avatar Vedang Patel Committed by David S. Miller
Browse files

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: default avatarVedang Patel <vedang.patel@intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1e08511d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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 {