From: Heinrich Schuchardt Date: Sat, 1 Apr 2023 08:07:30 +0000 (+0200) Subject: cmd/regulator: missing fallthrough in do_dev() X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=16abdd42b390d9a49825e70b52eb7ae42013dae5;p=u-boot.git cmd/regulator: missing fallthrough in do_dev() Add missing fallthrough macro. Signed-off-by: Heinrich Schuchardt Reviewed-by: Simon Glass --- 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");