Skip to contentSkip to conversation

x86/microcode: Use the return value from early_microcode_update_cpu

PATCH In review Ross Lagerwall 3 participants 3 messages Apr 20, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86/microcode: Use the return value from early_microcode_update_cpu

Use the return value from early_microcode_update_cpu rather than ignoring it.

---
 xen/arch/x86/microcode.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
xen/arch/x86/microcode.c +1 -1
index 4e7dfcd..7558202 100644
@@ -431,5 +431,5 @@ int __init early_microcode_init(void)
         register_cpu_notifier(&microcode_percpu_nfb);
     }
 
-    return 0;
+    return rc;
 }
Signature · 7 lines
2.7.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
#2 lore raw

Hi,

Quoted 4 lines · Andrew Cooper
Quoted 2 lines · Ross Lagerwall

Use the return value from early_microcode_update_cpu rather than ignoring it.

Quoted 8 lines

Spotted by Coverity.

Quoted 2 lines

Julien, can we have a release ack please?

Cheers,

Quoted 3 lines

~Andrew

Signature · 6 lines
Julien Grall

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel