[PATCH 04/18] use proper fallthrough annotations

Tom Rini trini at konsulko.com
Mon Mar 31 16:11:21 CEST 2025


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

> In some cases in the generic code, we were already using switch/case
> fallthrough annotations comments, though in a way which might not be
> understood by most compilers.
> 
> Replace two non-standard /* no break */ comments with our fallthrough;
> statement-like macro, to make this visible to the compiler.
> Also use this macro in place of an /* Fall through */ comment, to be
> more consistent.
> 
> 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/f6db9b51/attachment.sig>


More information about the U-Boot mailing list