x86/microcode/intel: Check if microcode was found before applying
authorBorislav Petkov <bp@suse.de>
Thu, 5 Feb 2015 18:35:19 +0000 (19:35 +0100)
committerBorislav Petkov <bp@suse.de>
Mon, 2 Mar 2015 19:31:03 +0000 (20:31 +0100)
commit776d3cdc93d83808bf5929d716a56c69bbe01d2f
tree31b5970f3935fbb194df4afef15c7d0451a87396
parentd496a002ae1f02425168e5211c237abee588651a
x86/microcode/intel: Check if microcode was found before applying

We should check the return value of the routines fishing out the proper
microcode and not try to apply if we haven't found a suitable blob.

Signed-off-by: Borislav Petkov <bp@suse.de>
arch/x86/kernel/cpu/microcode/intel_early.c