diff --git a/include/net/act_api.h b/include/net/act_api.h index 2cd9e9bb059a7a9d34fbc0a22e4ca6df0b2a3191..9a9a8edc138f0c0cb958e2e2b6023407f9d8bbd9 100644 --- a/include/net/act_api.h +++ b/include/net/act_api.h @@ -192,7 +192,7 @@ static inline void tcf_action_stats_update(struct tc_action *a, u64 bytes, #else /* CONFIG_NET_CLS_ACT */ #define tc_no_actions(_exts) true -#define tc_for_each_action(_a, _exts) while (0) +#define tc_for_each_action(_a, _exts) while ((void)(_a), 0) #define tcf_action_stats_update(a, bytes, packets, lastuse) #endif /* CONFIG_NET_CLS_ACT */