[GIT PULL] x86 fixes

From: Ingo Molnar
Date: Sat May 18 2024 - 05:10:14 EST


Linus,

Please pull the latest x86/urgent Git tree from:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-urgent-2024-05-18

# HEAD: 9dba9c67e52dbe0978c0e86c994891eba480adf0 x86/alternatives: Use the correct length when optimizing NOPs

Miscellaneous fixes:

- Fix a NOP-patching bug that resulted in valid
but suboptimal NOP sequences in certain cases.

- Fix build warnings related to fall-through control flow

Thanks,

Ingo

------------------>
Borislav Petkov (1):
x86/boot: Add a fallthrough annotation

Borislav Petkov (AMD) (1):
x86/alternatives: Use the correct length when optimizing NOPs

Nathan Chancellor (1):
x86/boot: Address clang -Wimplicit-fallthrough in vsprintf()


arch/x86/boot/Makefile | 1 +
arch/x86/boot/printf.c | 3 +++
arch/x86/kernel/alternative.c | 2 +-
3 files changed, 5 insertions(+), 1 deletion(-)