Make fall through explicit via a fallthrough statement to allow building with -Wimplicit-fallthrough.
Signed-off-by: Heinrich Schuchardt <[email protected]> --- v2: in commit message replace 'comment' by 'statement'. --- cmd/pmic.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/pmic.c b/cmd/pmic.c index 3ad1b8aa375..c5eea766a31 100644 --- a/cmd/pmic.c +++ b/cmd/pmic.c @@ -34,6 +34,7 @@ static int do_dev(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) printf("Can't get PMIC: %s!\n", name); return failure(ret); } + fallthrough; case 1: if (!currdev) { printf("PMIC device is not set!\n\n"); -- 2.48.1

