x86, amd_ucode: Flip revision numbers in printk
PATCH 1/1 x86, amd_ucode: Flip revision numbers in printk
A failure would result in log message like so-
(XEN) microcode: CPU0 update from revision 0x6000637 to 0x6000626 failed
^^^^^^^^^^^^^^^^^^^^^^
The above message has the revision numbers inverted. Fix this.
Signed-off-by Aravind Gopalakrishnan <[email protected]>
--- xen/arch/x86/microcode_amd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
xen/arch/x86/microcode_amd.c +1 -1
@@ -202,7 +202,7 @@ static int apply_microcode(int cpu)if ( rev != hdr->patch_id ) {printk (KERN_ERR "microcode: CPU%d update from revision " -"%#x to %#x failed\n" , cpu, hdr->patch_id, rev); +"%#x to %#x failed\n" , cpu, rev, hdr->patch_id);return -EIO ; }
Signature · 1 line
1.7.9.5