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

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_base.c:5556:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
  drivers/mtd/nand/raw/nand_base.c:5575:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
  drivers/mtd/nand/raw/nand_base.c:5613:13: 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_base.c