[PATCH 1/1] cmd/regulator: missing fallthrough in do_dev()
Heinrich Schuchardt
heinrich.schuchardt at canonical.com
Sat Apr 1 10:07:30 CEST 2023
Add missing fallthrough macro.
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
---
cmd/regulator.c | 1 +
1 file changed, 1 insertion(+)
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");
--
2.39.2
More information about the U-Boot
mailing list