OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a448bb
)
net: mscc: ocelot: add to tail of empty list in ocelot_vcap_filter_add_to_block
author
Vladimir Oltean
<vladimir.oltean@nxp.com>
Tue, 3 May 2022 12:01:47 +0000
(15:01 +0300)
committer
Jakub Kicinski
<kuba@kernel.org>
Thu, 5 May 2022 03:42:14 +0000
(20:42 -0700)
This makes no functional difference but helps in minimizing the delta
for a future change.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mscc/ocelot_vcap.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/mscc/ocelot_vcap.c
b/drivers/net/ethernet/mscc/ocelot_vcap.c
index
5b6f22b
..
4d8ce4b
100644
(file)
--- a/
drivers/net/ethernet/mscc/ocelot_vcap.c
+++ b/
drivers/net/ethernet/mscc/ocelot_vcap.c
@@
-1004,7
+1004,7
@@
static int ocelot_vcap_filter_add_to_block(struct ocelot *ocelot,
block->count++;
if (list_empty(&block->rules)) {
- list_add(&filter->list, &block->rules);
+ list_add
_tail
(&filter->list, &block->rules);
return 0;
}