]> asedeno.scripts.mit.edu Git - linux.git/commit
mtd: rawnand: Annotate implicit fall through in nand_command/nand_command_lp
authorMathieu Malaterre <malat@debian.org>
Wed, 16 Jan 2019 19:50:03 +0000 (20:50 +0100)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 5 Feb 2019 15:56:10 +0000 (16:56 +0100)
commit5b15f8650bdb061a651e8e7d0fe5eb626ab97af9
treee82c170e71309446e323f40e59f7e6073caebf98
parentdb214513f62fd13c0a9af3bd5c5d634dba37e65d
mtd: rawnand: Annotate implicit fall through in nand_command/nand_command_lp

There is a plan to build the kernel with -Wimplicit-fallthrough and
these places in the code produced warnings (W=1).

This commit removes the following warnings:

  drivers/mtd/nand/raw/nand_legacy.c:332:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
  drivers/mtd/nand/raw/nand_legacy.c:483:3: warning: this statement may fall through [-Wimplicit-fallthrough=]

Signed-off-by: Mathieu Malaterre <malat@debian.org>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/nand/raw/nand_legacy.c