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:
5428096
)
tools: mkimage: use /* fallthrough */ as needed
author
Heinrich Schuchardt
<xypron.glpk@gmx.de>
Sat, 9 May 2020 15:10:41 +0000
(17:10 +0200)
committer
Tom Rini
<trini@konsulko.com>
Fri, 15 May 2020 18:47:35 +0000
(14:47 -0400)
GCC recognizes /* fallthrough */ if -Wimplicit-fallthrough=3 is enabled.
Let's use it consistently.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
tools/mkimage.c
patch
|
blob
|
history
diff --git
a/tools/mkimage.c
b/tools/mkimage.c
index
336376f
..
d2cd191
100644
(file)
--- a/
tools/mkimage.c
+++ b/
tools/mkimage.c
@@
-211,7
+211,7
@@
static void process_args(int argc, char **argv)
case 'f':
datafile = optarg;
params.auto_its = !strcmp(datafile, "auto");
- /*
no break
*/
+ /*
fallthrough
*/
case 'F':
/*
* The flattened image tree (FIT) format