diff options
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2023-04-01 10:07:30 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-04-06 19:10:08 -0400 |
commit | 16abdd42b390d9a49825e70b52eb7ae42013dae5 (patch) | |
tree | 6412e589b00bb0d39f34de035e1ad164a11b5d76 /cmd | |
parent | 62d92d87f32d998c46047e8382fcd7dba2401c0d (diff) | |
download | u-boot-16abdd42b390d9a49825e70b52eb7ae42013dae5.zip u-boot-16abdd42b390d9a49825e70b52eb7ae42013dae5.tar.gz u-boot-16abdd42b390d9a49825e70b52eb7ae42013dae5.tar.bz2 |
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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/regulator.c b/cmd/regulator.c index ed4996d..8988c90 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"); |