projects
/
oweals
/
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 336376f8d0a2bbe8f555ab55bb0d3795e22a379a..d2cd1917874eef0154764351cb7c0edd274553c0 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