[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen stable-4.4] x86, amd_ucode: flip revision numbers in printk



commit 3c2545958a69f19ea60b178480949750c7dd0111
Author:     Aravind Gopalakrishnan <aravind.gopalakrishnan@xxxxxxx>
AuthorDate: Tue Jun 24 09:30:28 2014 +0200
Commit:     Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Tue Jun 24 09:30:28 2014 +0200

    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 <aravind.gopalakrishnan@xxxxxxx>
    master commit: 071a4c70a634f7d4f74cde4086ff3202968538c9
    master date: 2014-06-02 10:19:27 +0200
---
 xen/arch/x86/microcode_amd.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/xen/arch/x86/microcode_amd.c b/xen/arch/x86/microcode_amd.c
index 3014245..32d7fa1 100644
--- a/xen/arch/x86/microcode_amd.c
+++ b/xen/arch/x86/microcode_amd.c
@@ -164,7 +164,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;
     }
 
--
generated by git-patchbot for /home/xen/git/xen.git#stable-4.4

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.