net: rename flow_action_hw_stats_types* -> flow_action_hw_stats*
flow_action_hw_stats_types_check() helper takes one of the FLOW_ACTION_HW_STATS_*_BIT values as input. If we align the arguments to the opening bracket of the helper there is no way to call this helper and stay under 80 characters. Remove the "types" part from the new flow_action helpers and enum values. Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
362d3d8880
commit
53eca1f347
@@ -1207,8 +1207,7 @@ int nfp_flower_compile_action(struct nfp_app *app,
|
||||
bool pkt_host = false;
|
||||
u32 csum_updated = 0;
|
||||
|
||||
if (!flow_action_basic_hw_stats_types_check(&flow->rule->action,
|
||||
extack))
|
||||
if (!flow_action_basic_hw_stats_check(&flow->rule->action, extack))
|
||||
return -EOPNOTSUPP;
|
||||
|
||||
memset(nfp_flow->action_data, 0, NFP_FL_MAX_A_SIZ);
|
||||
|
Reference in New Issue
Block a user