archive mirror
 help / color / mirror / Atom feed
From: Arnd Bergmann <>
To: Thomas Gleixner <>,
	Ingo Molnar <>, Borislav Petkov <>,
Cc: Arnd Bergmann <>, "H. Peter Anvin" <>,
Subject: [PATCH] x86: boot: add a missing fallthrough statement
Date: Wed, 21 Jul 2021 17:23:02 +0200	[thread overview]
Message-ID: <> (raw)

From: Arnd Bergmann <>

This instance seems to have slipped through the mass
conversions to the fallthrough keyword:

arch/x86/boot/printf.c:248:31: error: this statement may fall through [-Werror=implicit-fallthrough=]

Signed-off-by: Arnd Bergmann <>
 arch/x86/boot/printf.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/x86/boot/printf.c b/arch/x86/boot/printf.c
index 1237beeb9540..c0ec1dc355ab 100644
--- a/arch/x86/boot/printf.c
+++ b/arch/x86/boot/printf.c
@@ -246,6 +246,7 @@ int vsprintf(char *buf, const char *fmt, va_list args)
 		case 'x':
 			flags |= SMALL;
+			fallthrough;
 		case 'X':
 			base = 16;

                 reply	other threads:[~2021-07-21 15:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \ \ \
    --subject='Re: [PATCH] x86: boot: add a missing fallthrough statement' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
on how to clone and mirror all data and code used for this inbox