diff options
author | Jakub Kicinski <kuba@kernel.org> | 2020-03-16 18:42:11 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-03-17 21:12:39 -0700 |
commit | 53eca1f3479f355ec17b2e86a6b0680510292833 (patch) | |
tree | 39abb3adf0bc310cfcb003924772fc2839120a40 /net/dsa | |
parent | 362d3d88809bbadc20856cf38d6a574099c8bc67 (diff) | |
download | linux-53eca1f3479f355ec17b2e86a6b0680510292833.tar.gz linux-53eca1f3479f355ec17b2e86a6b0680510292833.tar.bz2 linux-53eca1f3479f355ec17b2e86a6b0680510292833.zip |
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>
Diffstat (limited to 'net/dsa')
-rw-r--r-- | net/dsa/slave.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/dsa/slave.c b/net/dsa/slave.c index c5beb3031a72..5f782fa3029f 100644 --- a/net/dsa/slave.c +++ b/net/dsa/slave.c @@ -861,8 +861,8 @@ static int dsa_slave_add_cls_matchall(struct net_device *dev, if (!flow_offload_has_one_action(&cls->rule->action)) return err; - if (!flow_action_basic_hw_stats_types_check(&cls->rule->action, - cls->common.extack)) + if (!flow_action_basic_hw_stats_check(&cls->rule->action, + cls->common.extack)) return err; act = &cls->rule->action.entries[0]; |