[PATCH] cmd: pmic: add fall through comment
Tom Rini
trini at konsulko.com
Mon Mar 24 18:18:34 CET 2025
On Mon, Mar 24, 2025 at 06:12:43PM +0100, Heinrich Schuchardt wrote:
> Make fall through explicit via comment to allow building with
> -Wimplicit-fallthrough.
>
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
We should say "statement" not "comment" because it's not
'/* fallthrough */' and looking at the linux kernel now, using
'fallthrough;' is the way to go as it will use the attribute when
possible.
--
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/20250324/494073bd/attachment.sig>
More information about the U-Boot
mailing list