]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
x86/microcode/intel: Cleanup code further
authorThomas Gleixner <tglx@linutronix.de>
Mon, 2 Oct 2023 11:59:41 +0000 (13:59 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Mar 2025 15:45:50 +0000 (16:45 +0100)
commit53d07dfbac0d43ce1650752d68b6ec792ea00f3c
treeaae5e6c2c226c5e6caa597e1dc3faf94083313a3
parent1092852de03692f6611f6737d61b09e3913fbbda
x86/microcode/intel: Cleanup code further

commit 0177669ee61de4dc641f9ad86a3df6f22327cf6c upstream

Sanitize the microcode scan loop, fixup printks and move the loading
function for builtin microcode next to the place where it is used and mark
it __init.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/20231002115902.389400871@linutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/kernel/cpu/microcode/intel.c