[PATCH 17/18] cmd: spl: annotate switch/case fallthrough
Tom Rini
trini at konsulko.com
Mon Mar 31 18:09:17 CEST 2025
On Thu, Mar 27, 2025 at 03:33:12PM +0000, Andre Przywara wrote:
> The argument parsing in the SPL configuration command uses an implicit
> switch/case fallthrough when dealing with a different number of
> arguments.
>
> Add our "fallthrough;" statement-like macro before the respective labels
> in the bootm 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/aa4481ea/attachment.sig>
More information about the U-Boot
mailing list