]> git.dujemihanovic.xyz Git - u-boot.git/commit
tools: avoid implicit fallthrough in fdt_add_pubkey
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 1 Apr 2023 06:09:34 +0000 (08:09 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 6 Apr 2023 23:10:08 +0000 (19:10 -0400)
commit686e9ef60598da2e75730c0861b5b2d6ac7f2493
treeaef0b17d3848465572415f9438801c6da7f83792
parentaeb40f1166e072856f865d26d42a4bea1ec3a514
tools: avoid implicit fallthrough in fdt_add_pubkey

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@canonical.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
tools/fdt_add_pubkey.c