* + isofs-fix-fall-through-warnings-for-clang.patch added to -mm tree
@ 2021-04-21 0:17 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2021-04-21 0:17 UTC (permalink / raw)
To: gustavoars, mm-commits
The patch titled
Subject: isofs: fix fall-through warnings for Clang
has been added to the -mm tree. Its filename is
isofs-fix-fall-through-warnings-for-clang.patch
This patch should soon appear at
https://ozlabs.org/~akpm/mmots/broken-out/isofs-fix-fall-through-warnings-for-clang.patch
and later at
https://ozlabs.org/~akpm/mmotm/broken-out/isofs-fix-fall-through-warnings-for-clang.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***
The -mm tree is included into linux-next and is updated
there every 3-4 working days
------------------------------------------------------
From: "Gustavo A. R. Silva" <gustavoars@kernel.org>
Subject: isofs: fix fall-through warnings for Clang
In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning
by explicitly adding a break statement instead of just letting the code
fall through to the next case.
Link: https://github.com/KSPP/linux/issues/115
Link: https://lkml.kernel.org/r/5b7caa73958588065fabc59032c340179b409ef5.1605896059.git.gustavoars@kernel.org
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
fs/isofs/rock.c | 1 +
1 file changed, 1 insertion(+)
--- a/fs/isofs/rock.c~isofs-fix-fall-through-warnings-for-clang
+++ a/fs/isofs/rock.c
@@ -767,6 +767,7 @@ repeat:
rs.cont_extent = isonum_733(rr->u.CE.extent);
rs.cont_offset = isonum_733(rr->u.CE.offset);
rs.cont_size = isonum_733(rr->u.CE.size);
+ break;
default:
break;
}
_
Patches currently in -mm which might be from gustavoars@kernel.org are
isofs-fix-fall-through-warnings-for-clang.patch
hfsplus-fix-out-of-bounds-warnings-in-__hfsplus_setxattr.patch
hpfs-replace-one-element-array-with-flexible-array-member.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-04-21 0:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-21 0:17 + isofs-fix-fall-through-warnings-for-clang.patch added to -mm tree akpm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).