[PATCH 14/18] mtd: spi-nor-tiny: annotate switch/case fallthrough
Tom Rini
trini at konsulko.com
Mon Mar 31 18:07:48 CEST 2025
On Thu, Mar 27, 2025 at 03:33:09PM +0000, Andre Przywara wrote:
> 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 at arm.com>
Reviewed-by: Tom Rini <trini at konsulko.com>
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20250331/f6ebfb31/attachment-0001.sig>
More information about the U-Boot
mailing list