x86/ucode/amd: Fix assertion in compare_patch()

This is clearly a typo.

Fixes: 9da23943cc "microcode: introduce a global cache of ucode patch"
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Wei Liu <wl@xen.org>
This commit is contained in:
Andrew Cooper committed 2020-03-26 18:57:45 +00:00
1 parent 540d4d6037
commit 13ed5d49a4
1 file changed
+1 -1
+1 -1
View File
@@ -211,7 +211,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);
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.