x86/microcode/intel: Check scan_microcode()'s retval
authorBorislav Petkov <bp@suse.de>
Tue, 10 Feb 2015 11:45:16 +0000 (12:45 +0100)
committerBorislav Petkov <bp@suse.de>
Mon, 2 Mar 2015 19:32:20 +0000 (20:32 +0100)
commit4f1f605cfe3046c4c9f07920c47d3f801d31c0ba
tree85430159355ea3610b39508801c6ee792455af4e
parent140f74fcedbfc862178c082c50b5f54dd52c1ce4
x86/microcode/intel: Check scan_microcode()'s retval

... and do not attempt to load anything in case of error.

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