x86/microcode/intel: Cleanup code further
authorThomas Gleixner <tglx@linutronix.de>
Mon, 2 Oct 2023 11:59:41 +0000 (13:59 +0200)
committerBorislav Petkov (AMD) <bp@alien8.de>
Thu, 19 Oct 2023 12:10:50 +0000 (14:10 +0200)
commit0177669ee61de4dc641f9ad86a3df6f22327cf6c
tree703c51aaec1747e0c2fd2dcc1a0af55ccf69f1a3
parent6b072022ab2e1e83b7588144ee0080f7197b71da
x86/microcode/intel: Cleanup code further

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
arch/x86/kernel/cpu/microcode/intel.c