diff options
author | Michael Brown <mcb30@ipxe.org> | 2017-03-29 10:36:03 +0300 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2017-03-29 10:36:45 +0300 |
commit | 5f85cbb9ee1c00cec81a848a9e871ad5d1e7f53f (patch) | |
tree | 3f69e821428c32483724f3f1ba83f4211ec11572 /src/arch/x86 | |
parent | 28e26dd2503e6006fabb26f8c33050ba93a99623 (diff) | |
download | ipxe-5f85cbb9ee1c00cec81a848a9e871ad5d1e7f53f.tar.gz |
[build] Avoid implicit-fallthrough warnings on GCC 7
Reported-by: Vinson Lee <vlee@freedesktop.org>
Reported-by: Liang Yan <lyan@suse.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/arch/x86')
-rw-r--r-- | src/arch/x86/image/bzimage.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/arch/x86/image/bzimage.c b/src/arch/x86/image/bzimage.c index e3c4cb83d..51498bf95 100644 --- a/src/arch/x86/image/bzimage.c +++ b/src/arch/x86/image/bzimage.c @@ -282,9 +282,11 @@ static int bzimage_parse_cmdline ( struct image *image, case 'G': case 'g': bzimg->mem_limit <<= 10; + /* Fall through */ case 'M': case 'm': bzimg->mem_limit <<= 10; + /* Fall through */ case 'K': case 'k': bzimg->mem_limit <<= 10; |