Skip to contentSkip to conversation

spapr: Fix return type of spapr_machine_finalizefn

PATCH In review Bharata B Rao 2 participants 2 messages Jan 1, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 spapr: Fix return type of spapr_machine_finalizefn

Fix the compilation failure by changing the return type of spapr_machine_finalizefn() to void.

---
Applies against ppc-for-2.6 branch of David Gibson's tree.

 hw/ppc/spapr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
hw/ppc/spapr.c +1 -1
index 999a6fd..d7f7dba 100644
@@ -2108,7 +2108,7 @@ static void spapr_machine_initfn(Object *obj)
                                     NULL);
 }
 
-static char *spapr_machine_finalizefn(Object *obj)
+static void spapr_machine_finalizefn(Object *obj)
 {
     sPAPRMachineState *spapr = SPAPR_MACHINE(obj);
 
Signature · 1 line
1.8.3.1
#1 lore raw
Quoted 6 lines · Bharata B Rao

Fix the compilation failure by changing the return type of spapr_machine_finalizefn() to void.

---
Applies against ppc-for-2.6 branch of David Gibson's tree.

I've already fixed this in my tree, but I think I forgot to push it out. I've done so now.

Signature · 4 lines
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson