mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
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:
1 parent
540d4d6037
commit
13ed5d49a4
1 file changed
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||