All of lore.kernel.org
 help / color / mirror / Atom feed
* [merged] mm-list_lru-mark-expected-switch-fall-through.patch removed from -mm tree
@ 2017-11-16 20:05 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2017-11-16 20:05 UTC (permalink / raw)
  To: garsilva, mm-commits


The patch titled
     Subject: mm/list_lru.c: mark expected switch fall-through
has been removed from the -mm tree.  Its filename was
     mm-list_lru-mark-expected-switch-fall-through.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: "Gustavo A. R. Silva" <garsilva@embeddedor.com>
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.

Link: http://lkml.kernel.org/r/20171020190754.GA24332@embeddedor.com
Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 mm/list_lru.c |    1 +
 1 file changed, 1 insertion(+)

diff -puN mm/list_lru.c~mm-list_lru-mark-expected-switch-fall-through mm/list_lru.c
--- a/mm/list_lru.c~mm-list_lru-mark-expected-switch-fall-through
+++ a/mm/list_lru.c
@@ -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--;
_

Patches currently in -mm which might be from garsilva@embeddedor.com are



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-11-16 20:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-16 20:05 [merged] mm-list_lru-mark-expected-switch-fall-through.patch removed from -mm tree akpm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.