summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2023-04-01 10:07:30 +0200
committerTom Rini <trini@konsulko.com>2023-04-06 19:10:08 -0400
commit16abdd42b390d9a49825e70b52eb7ae42013dae5 (patch)
tree6412e589b00bb0d39f34de035e1ad164a11b5d76 /cmd
parent62d92d87f32d998c46047e8382fcd7dba2401c0d (diff)
downloadu-boot-16abdd42b390d9a49825e70b52eb7ae42013dae5.tar.gz
cmd/regulator: missing fallthrough in do_dev()
Add missing fallthrough macro. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/regulator.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/regulator.c b/cmd/regulator.c
index ed4996dbd2..8988c90108 100644
--- a/cmd/regulator.c
+++ b/cmd/regulator.c
@@ -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");