aboutsummaryrefslogtreecommitdiff
path: root/tools/mkimage.c
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2020-05-09 17:10:41 +0200
committerTom Rini <trini@konsulko.com>2020-05-15 14:47:35 -0400
commita29162a11c341f5fa8fc177e22f23898fc96689b (patch)
tree80cc14959625ab62a88dd1b9ac5f25800095963f /tools/mkimage.c
parent542809620e62a3fc2f93c230440c6d105e59b32e (diff)
downloadu-boot-a29162a11c341f5fa8fc177e22f23898fc96689b.zip
u-boot-a29162a11c341f5fa8fc177e22f23898fc96689b.tar.gz
u-boot-a29162a11c341f5fa8fc177e22f23898fc96689b.tar.bz2
tools: mkimage: use /* fallthrough */ as needed
GCC recognizes /* fallthrough */ if -Wimplicit-fallthrough=3 is enabled. Let's use it consistently. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'tools/mkimage.c')
-rw-r--r--tools/mkimage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mkimage.c b/tools/mkimage.c
index 336376f..d2cd191 100644
--- 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