x86, microcode, AMD: Simplify install_equiv_cpu_table
authorBorislav Petkov <borislav.petkov@amd.com>
Thu, 30 Dec 2010 21:10:12 +0000 (22:10 +0100)
committerBorislav Petkov <borislav.petkov@amd.com>
Wed, 9 Feb 2011 15:05:33 +0000 (16:05 +0100)
There's no need to memcpy the ucode header in order to look at it only
in this function - use the original buffer instead. Also, fix return
type semantics by returning a negative value on error and a positive
otherwise.

Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
Acked-by: Andreas Herrmann <Andreas.Herrmann3@amd.com>

No differences found