]> xenbits.xensource.com Git - xen.git/commitdiff
x86/microcode: Use the return value from early_microcode_update_cpu
authorRoss Lagerwall <ross.lagerwall@citrix.com>
Thu, 20 Apr 2017 13:18:00 +0000 (14:18 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 20 Apr 2017 17:11:36 +0000 (18:11 +0100)
Use the return value from early_microcode_update_cpu rather than
ignoring it.

Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Release-Acked-by: Julien Grall <julien.grall@arm.com>
xen/arch/x86/microcode.c

index 4e7dfcd5735723994f4d9124d36c756b21ae0b11..7558202efa7249a6b903db140adca73401cfc083 100644 (file)
@@ -431,5 +431,5 @@ int __init early_microcode_init(void)
         register_cpu_notifier(&microcode_percpu_nfb);
     }
 
-    return 0;
+    return rc;
 }