projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62d92d8
)
cmd/regulator: missing fallthrough in do_dev()
author
Heinrich Schuchardt
<heinrich.schuchardt@canonical.com>
Sat, 1 Apr 2023 08:07:30 +0000
(10:07 +0200)
committer
Tom 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
patch
|
blob
|
history
diff --git
a/cmd/regulator.c
b/cmd/regulator.c
index
ed4996d
..
8988c90
100644
(file)
--- 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");