From 5f85cbb9ee1c00cec81a848a9e871ad5d1e7f53f Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Wed, 29 Mar 2017 10:36:03 +0300 Subject: [build] Avoid implicit-fallthrough warnings on GCC 7 Reported-by: Vinson Lee Reported-by: Liang Yan Signed-off-by: Michael Brown --- src/arch/x86/image/bzimage.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/arch') diff --git a/src/arch/x86/image/bzimage.c b/src/arch/x86/image/bzimage.c index e3c4cb83..51498bf9 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; -- cgit v1.2.3-55-g7522