diff options
author | Vladimir Oltean <[email protected]> | 2020-02-29 16:31:07 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-03-03 18:57:29 -0800 |
commit | ce6659c55b7dad1eea57b4e9fe6e77d39d22c286 (patch) | |
tree | 2db9acb452f9d2121cd3d7a3682b7e969f4ec950 /lib/test_overflow.c | |
parent | a56d7a345dd67995ba415a26a0164a72780f2d02 (diff) |
net: mscc: ocelot: replace "rule" and "ocelot_rule" variable names with "ace"
The "ocelot_rule" variable name is both annoyingly long trying to
distinguish itself from struct flow_rule *rule =
flow_cls_offload_flow_rule(f), as well as actually different from the
"ace" variable name which is used all over the place in ocelot_ace.c and
is referring to the same structure.
And the "rule" variable name is, confusingly, different from f->rule,
but sometimes one has to look up to the beginning of the function to get
an understanding of what structure type is actually being handled.
So let's use the "ace" name wherever possible ("Access Control Entry").
Signed-off-by: Vladimir Oltean <[email protected]>
Tested-by: Horatiu Vultur <[email protected]>
Reviewed-by: Allan W. Nielsen <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions