x86, microcode: Fix the failure path of microcode update driver init code
authorSrivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>
Mon, 7 Nov 2011 12:35:32 +0000 (18:05 +0530)
committerBorislav Petkov <borislav.petkov@amd.com>
Mon, 5 Dec 2011 13:21:01 +0000 (14:21 +0100)
commitbd399063976c6c7a09beb4730ed1d93cadbcc739
treecfa387565f492a6caa363d748a90e6d23881fe7e
parent8e8da023f5af71662867729db5547dc54786093c
x86, microcode: Fix the failure path of microcode update driver init code

The microcode update driver's initialization code does not handle
failures correctly. This patch fixes this issue.

Signed-off-by: Jan Beulich <JBeulich@suse.com>
Signed-off-by: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>
Link: http://lkml.kernel.org/r/20111107123530.12164.31227.stgit@srivatsabhat.in.ibm.com
Link: http://lkml.kernel.org/r/4ED8E2270200007800065120@nat28.tlf.novell.com
Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
arch/x86/kernel/microcode_core.c