* [Qemu-devel] [PATCH] spapr: Fix return type of spapr_machine_finalizefn
@ 2016-01-01 8:26 Bharata B Rao
2016-01-01 9:12 ` David Gibson
0 siblings, 1 reply; 2+ messages in thread
From: Bharata B Rao @ 2016-01-01 8:26 UTC (permalink / raw)
To: qemu-devel; +Cc: Bharata B Rao, qemu-ppc, lizhijian, david
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(-)
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] [PATCH] spapr: Fix return type of spapr_machine_finalizefn
2016-01-01 8:26 [Qemu-devel] [PATCH] spapr: Fix return type of spapr_machine_finalizefn Bharata B Rao
@ 2016-01-01 9:12 ` David Gibson
0 siblings, 0 replies; 2+ messages in thread
From: David Gibson @ 2016-01-01 9:12 UTC (permalink / raw)
To: Bharata B Rao; +Cc: qemu-ppc, qemu-devel, lizhijian
[-- Attachment #1: Type: text/plain, Size: 591 bytes --]
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.
--
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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-01-01 9:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-01 8:26 [Qemu-devel] [PATCH] spapr: Fix return type of spapr_machine_finalizefn Bharata B Rao
2016-01-01 9:12 ` David Gibson
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.