mirror of
https://xff.cz/git/u-boot/
synced 2025-09-02 09:12:08 +02:00
cmd: missing fallthrough macro in do_pci()
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>
This commit is contained in:
committed by
Tom Rini
parent
06a94b3e8b
commit
62d92d87f3
@@ -517,6 +517,7 @@ static int do_pci(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
|
|||||||
addr = hextoul(argv[3], NULL);
|
addr = hextoul(argv[3], NULL);
|
||||||
if (argc > 4)
|
if (argc > 4)
|
||||||
value = hextoul(argv[4], NULL);
|
value = hextoul(argv[4], NULL);
|
||||||
|
fallthrough;
|
||||||
case 'h': /* header */
|
case 'h': /* header */
|
||||||
case 'b': /* bars */
|
case 'b': /* bars */
|
||||||
if (argc < 3)
|
if (argc < 3)
|
||||||
|
Reference in New Issue
Block a user