qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH] spapr: Fix return type of spapr_machine_finalizefn


From: Bharata B Rao
Subject: [Qemu-devel] [PATCH] spapr: Fix return type of spapr_machine_finalizefn
Date: Fri, 1 Jan 2016 13:56:16 +0530

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

Signed-off-by: Bharata B Rao <address@hidden>
---
Applies against ppc-for-2.6 branch of David Gibson's tree.

 hw/ppc/spapr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c
index 999a6fd..d7f7dba 100644
--- a/hw/ppc/spapr.c
+++ b/hw/ppc/spapr.c
@@ -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);
 
-- 
1.8.3.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]