diff options
author | Borislav Petkov <bp@suse.de> | 2024-05-16 12:22:40 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2024-05-16 12:46:36 +0200 |
commit | dd0716c2b87792ebea30864e7ad1df461d4c1525 (patch) | |
tree | f6a9568cd9dc79b6a54533111dda45cf913a0e8c /drivers/usb/cdns3/cdns3-trace.h | |
parent | 9776dd36095be19f5a0ad9f07a4fc221d2a0609a (diff) |
x86/boot: Add a fallthrough annotation
Add implicit fallthrough checking to the decompressor code and fix this
warning:
arch/x86/boot/printf.c: In function ‘vsprintf’:
arch/x86/boot/printf.c:248:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
248 | flags |= SMALL;
| ^
arch/x86/boot/printf.c:249:3: note: here
249 | case 'X':
| ^~~~
This is a patch from three years ago which I found in my trees, thus the
SUSE authorship still.
Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20240516102240.16270-1-bp@kernel.org
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.h')
0 files changed, 0 insertions, 0 deletions