From: Heinrich Schuchardt Date: Sat, 1 Apr 2023 07:43:33 +0000 (+0200) Subject: cmd: missing fallthrough macro in do_pci() X-Git-Tag: v2023.07~101^2~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=62d92d87f32d998c46047e8382fcd7dba2401c0d;p=platform%2Fkernel%2Fu-boot.git cmd: missing fallthrough macro in do_pci() Add a missing fallthrough macro to avoid a -Wimplicit-fallthrough warning. Signed-off-by: Heinrich Schuchardt Reviewed-by: Simon Glass --- diff --git a/cmd/pci.c b/cmd/pci.c index 58a7475..78b661d 100644 --- a/cmd/pci.c +++ b/cmd/pci.c @@ -517,6 +517,7 @@ static int do_pci(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) addr = hextoul(argv[3], NULL); if (argc > 4) value = hextoul(argv[4], NULL); + fallthrough; case 'h': /* header */ case 'b': /* bars */ if (argc < 3)