From: Gustavo A. R. Silva Date: Thu, 22 Apr 2021 06:43:02 +0000 (+1000) Subject: isofs: fix fall-through warnings for Clang X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=f3e330f1bc8ff8cd4f20b66cd34fd03d6353b9e8;p=users%2Fjedix%2Flinux-maple.git 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 Signed-off-by: Andrew Morton Signed-off-by: Stephen Rothwell --- diff --git a/fs/isofs/rock.c b/fs/isofs/rock.c index 94ef92fe806c..4880146babaf 100644 --- a/fs/isofs/rock.c +++ b/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; }