[PATCH 01/18] spl: mmc: properly annotate fallthrough

Tom Rini trini at konsulko.com
Sat Mar 29 01:06:00 CET 2025


On Thu, Mar 27, 2025 at 03:32:56PM +0000, Andre Przywara wrote:

> Depending on the various MMC boot configurations, we might end up with
> trying filesystem mode when a raw image boot failed. This fall-through
> in the switch/case statement is explained in a comment, but this is not
> visible to the compiler, which still will complain.
> 
> Add the proper compiler-visible annotation, to allow enabling the
> compiler check in the future.
> 
> 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/20250328/be4f0d21/attachment.sig>


More information about the U-Boot mailing list