[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen stable-4.13] x86/ucode/amd: Fix assertion in compare_patch()
commit e5195730f1c1d0dee68ffa951008c01431c371e8 Author: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> AuthorDate: Thu Apr 9 09:12:26 2020 +0200 Commit: Jan Beulich <jbeulich@xxxxxxxx> CommitDate: Thu Apr 9 09:12:26 2020 +0200 x86/ucode/amd: Fix assertion in compare_patch() This is clearly a typo. Fixes: 9da23943ccd "microcode: introduce a global cache of ucode patch" Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> Reviewed-by: Wei Liu <wl@xxxxxxx> master commit: 13ed5d49a4214dc3521d4af7bfcf13fbcf5bfd63 master date: 2020-03-26 18:57:45 +0000 --- xen/arch/x86/microcode_amd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/x86/microcode_amd.c b/xen/arch/x86/microcode_amd.c index 00750f7bbb..eb7ae79918 100644 --- a/xen/arch/x86/microcode_amd.c +++ b/xen/arch/x86/microcode_amd.c @@ -222,7 +222,7 @@ static enum microcode_match_result compare_patch( /* Both patches to compare are supposed to be applicable to local CPU. */ ASSERT(microcode_fits(new->mc_amd) != MIS_UCODE); - ASSERT(microcode_fits(new->mc_amd) != MIS_UCODE); + ASSERT(microcode_fits(old->mc_amd) != MIS_UCODE); return compare_header(new_header, old_header); } -- generated by git-patchbot for /home/xen/git/xen.git#stable-4.13
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |