From: Arnd Bergmann <[email protected]>
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 <[email protected]>
---
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