Home
last modified time | relevance | path

Searched hist:"01359 eb2013b4b1e87b22db0f532c2e0b7aee001" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/mm/
H A Dmm_init.cdiff 01359eb2013b4b1e87b22db0f532c2e0b7aee001 Mon Dec 14 21:15:00 CST 2020 Gustavo A. R. Silva <gustavoars@kernel.org> mm: fix fall-through warnings for Clang

In preparation to enable -Wimplicit-fallthrough for Clang, fix a couple of
warnings by explicitly adding a break statement instead of just letting
the code fall through to the next, and by adding a fallthrough
pseudo-keyword in places where the code is intended to fall through.

Link: https://github.com/KSPP/linux/issues/115
Link: https://lkml.kernel.org/r/f5756988b8842a3f10008fbc5b0a654f828920a9.1605896059.git.gustavoars@kernel.org
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
H A Dvmscan.cdiff 01359eb2013b4b1e87b22db0f532c2e0b7aee001 Mon Dec 14 21:15:00 CST 2020 Gustavo A. R. Silva <gustavoars@kernel.org> mm: fix fall-through warnings for Clang

In preparation to enable -Wimplicit-fallthrough for Clang, fix a couple of
warnings by explicitly adding a break statement instead of just letting
the code fall through to the next, and by adding a fallthrough
pseudo-keyword in places where the code is intended to fall through.

Link: https://github.com/KSPP/linux/issues/115
Link: https://lkml.kernel.org/r/f5756988b8842a3f10008fbc5b0a654f828920a9.1605896059.git.gustavoars@kernel.org
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>