mm/list_lru.c: mark expected switch fall-through
Subsystems (2)
[email protected]
maintainerPATCH 122/131 mm/list_lru.c: mark expected switch fall-through
From: "Gustavo A. R. Silva" <[email protected]>
Subject: mm/list_lru.c: mark expected switch fall-through
In preparation for enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through.
Signed-off-by Gustavo A. R. Silva <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
mm/list_lru.c | 1 + 1 file changed, 1 insertion(+)
mm/list_lru.c renamed from mm/list_lru.c~mm-list_lru-mark-expected-switch-fall-through +1 -0
@@ -221,6 +221,7 @@ restart:switch (ret) {case LRU_REMOVED_RETRY :assert_spin_locked (&nlru->lock); +/* fall through */ case LRU_REMOVED : isolated++; nlru->nr_items--;
_