diff mbox

spapr: Fix return type of spapr_machine_finalizefn

Message ID 1451636776-25072-1-git-send-email-bharata@linux.vnet.ibm.com
State New
Headers show

Commit Message

Bharata B Rao Jan. 1, 2016, 8:26 a.m. UTC
Fix the compilation failure by changing the return type of
spapr_machine_finalizefn() to void.

Signed-off-by: Bharata B Rao <bharata@linux.vnet.ibm.com>
---
Applies against ppc-for-2.6 branch of David Gibson's tree.

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

Comments

David Gibson Jan. 1, 2016, 9:12 a.m. UTC | #1
On Fri, Jan 01, 2016 at 01:56:16PM +0530, Bharata B Rao wrote:
> Fix the compilation failure by changing the return type of
> spapr_machine_finalizefn() to void.
> 
> Signed-off-by: Bharata B Rao <bharata@linux.vnet.ibm.com>
> ---
> 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.
diff mbox

Patch

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);