x86/microcode/AMD: Make find_proper_container() sane again
authorBorislav Petkov <bp@suse.de>
Sun, 18 Dec 2016 16:44:11 +0000 (17:44 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 19 Dec 2016 09:46:19 +0000 (10:46 +0100)
commit8feaa64a9a69652fdff87205f8a8cfe1bfd5b522
treee1cf8f6ff9faa2daf663ce7394cd1a82927d1a5b
parentb0b3a37b908b5906524c11f3ca12cd7c9d4adc1c
x86/microcode/AMD: Make find_proper_container() sane again

Fixup signature and retvals, return the container struct through the
passed in pointer, not as a function return value.

Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Jürgen Gross <jgross@suse.com>
Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Link: http://lkml.kernel.org/r/20161218164414.9649-2-bp@alien8.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/cpu/microcode/amd.c