]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
cmd/regulator: missing fallthrough in do_dev()
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 1 Apr 2023 08:07:30 +0000 (10:07 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 6 Apr 2023 23:10:08 +0000 (19:10 -0400)
Add missing fallthrough macro.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
cmd/regulator.c

index ed4996dbd2b7b6f05c3833fb283f7931499d3103..8988c9010877d8a5c9fce3edc086c495609c5471 100644 (file)
@@ -37,6 +37,7 @@ static int do_dev(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
                        printf("Can't get the regulator: %s!\n", name);
                        return failure(ret);
                }
+               fallthrough;
        case 1:
                if (!currdev) {
                        printf("Regulator device is not set!\n\n");