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:
06a94b3
)
cmd: missing fallthrough macro in do_pci()
author
Heinrich Schuchardt
<heinrich.schuchardt@canonical.com>
Sat, 1 Apr 2023 07:43:33 +0000
(09:43 +0200)
committer
Tom Rini
<trini@konsulko.com>
Thu, 6 Apr 2023 23:10:08 +0000
(19:10 -0400)
Add a missing fallthrough macro to avoid a -Wimplicit-fallthrough warning.
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
cmd/pci.c
patch
|
blob
|
history
diff --git
a/cmd/pci.c
b/cmd/pci.c
index
58a7475
..
78b661d
100644
(file)
--- 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)