Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 38842572 authored by Mathieu Malaterre's avatar Mathieu Malaterre Committed by Miquel Raynal
Browse files

mtd: rawnand: jz4780: annotate implicit fall throughs



There is a plan to build the kernel with -Wimplicit-fallthrough and
these places in the code produced warnings. Fix them up.

Signed-off-by: default avatarMathieu Malaterre <malat@debian.org>
Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
parent c93c6132
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -136,8 +136,10 @@ static void jz4780_bch_read_parity(struct jz4780_bch *bch, void *buf,
	switch (size8) {
	case 3:
		dest8[2] = (val >> 16) & 0xff;
		/* fall through */
	case 2:
		dest8[1] = (val >> 8) & 0xff;
		/* fall through */
	case 1:
		dest8[0] = val & 0xff;
		break;