[PATCH] x86: boot: add a missing fallthrough statement

From: Arnd Bergmann
Date: Wed Jul 21 2021 - 11:23:20 EST


From: Arnd Bergmann <arnd@xxxxxxxx>

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 <arnd@xxxxxxxx>
---
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;
break;
--
2.29.2