mtd: spi-nor-tiny: annotate switch/case fallthrough
authorAndre Przywara <andre.przywara@arm.com>
Thu, 27 Mar 2025 15:33:09 +0000 (15:33 +0000)
committerTom Rini <trini@konsulko.com>
Tue, 8 Apr 2025 22:23:51 +0000 (16:23 -0600)
commit452dfcc3b461c1bfbc2126623f42f551000a9ca3
tree53eeed4876e4742313033ee8e7de735afb7d8653
parentbc3e28e11b7a8b0fb1765556642409e4006a33f7
mtd: spi-nor-tiny: annotate switch/case fallthrough

The SPI NOR code uses an implicit switch/case fallthrough when checking
different vendors to determine how to deal with extended addressig modes.

Add our "fallthrough;" statement-like macro before some label in the
4-byte addressing mode code, to avoid a warning when GCC's
-Wimplicit-fallthrough warning option is enabled.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
drivers/mtd/spi/spi-nor-tiny.c