[PATCH 1/1] tools: avoid implicit fallthrough in fdt_add_pubkey
Tom Rini
trini at konsulko.com
Fri Apr 7 16:49:54 CEST 2023
On Sat, Apr 01, 2023 at 08:09:34AM +0200, Heinrich Schuchardt wrote:
> When building with -Wimplicit-fallthrough we get a warning
>
> tools/fdt_add_pubkey.c:52:25: warning:
> this statement may fall through [-Wimplicit-fallthrough=]
> 52 | print_help();
> |
>
> Explicitly declare which functions don't return.
>
> Fixes: 30238e99619c ("tools: add fdt_add_pubkey")
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>
Applied to u-boot/master, thanks!
--
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/20230407/404f41e1/attachment.sig>
More information about the U-Boot
mailing list