]> git.karo-electronics.de Git - mv-sheeva.git/commit
x86, microcode: Correct sysdev_add error path
authorBorislav Petkov <borislav.petkov@amd.com>
Thu, 6 Jan 2011 15:56:51 +0000 (16:56 +0100)
committerBorislav Petkov <borislav.petkov@amd.com>
Wed, 9 Feb 2011 15:05:31 +0000 (16:05 +0100)
commit6c53cbfced048c421e4f72cb2183465f68fbc5e7
treee7d5529cf13e06d5e488aab6237eec37d01a0c94
parent100b33c8bd8a3235fd0b7948338d6cbb3db3c63d
x86, microcode: Correct sysdev_add error path

When we encounter an error while initting the microcode driver on a CPU,
we must undo the previously added sysfs group.

Cc: Tigran Aivazian <tigran@aivazian.fsnet.co.uk>
Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
Acked-by: Andreas Herrmann <Andreas.Herrmann3@amd.com>
arch/x86/kernel/microcode_core.c