* [PATCH] xen: fix non-ANSI function warning in irq.c
@ 2011-01-09 4:00 Randy Dunlap
2011-01-11 15:15 ` Konrad Rzeszutek Wilk
0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2011-01-09 4:00 UTC (permalink / raw)
To: virtualization, xen-devel; +Cc: Jeremy Fitzhardinge
From: Randy Dunlap <randy.dunlap@oracle.com>
Fix sparse warning for non-ANSI function declaration:
arch/x86/xen/irq.c:129:30: warning: non-ANSI function declaration of function 'xen_init_irq_ops'
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
---
arch/x86/xen/irq.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- lnx0107.orig/arch/x86/xen/irq.c
+++ lnx0107/arch/x86/xen/irq.c
@@ -126,7 +126,7 @@ static const struct pv_irq_ops xen_irq_o
#endif
};
-void __init xen_init_irq_ops()
+void __init xen_init_irq_ops(void)
{
pv_irq_ops = xen_irq_ops;
x86_init.irqs.intr_init = xen_init_IRQ;
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] xen: fix non-ANSI function warning in irq.c
2011-01-09 4:00 [PATCH] xen: fix non-ANSI function warning in irq.c Randy Dunlap
@ 2011-01-11 15:15 ` Konrad Rzeszutek Wilk
0 siblings, 0 replies; 2+ messages in thread
From: Konrad Rzeszutek Wilk @ 2011-01-11 15:15 UTC (permalink / raw)
To: Randy Dunlap; +Cc: virtualization, xen-devel, Jeremy Fitzhardinge
On Sat, Jan 08, 2011 at 08:00:36PM -0800, Randy Dunlap wrote:
> From: Randy Dunlap <randy.dunlap@oracle.com>
>
> Fix sparse warning for non-ANSI function declaration:
>
> arch/x86/xen/irq.c:129:30: warning: non-ANSI function declaration of function 'xen_init_irq_ops'
Thanks, queued up for rc1.
>
> Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
> Cc: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
> ---
> arch/x86/xen/irq.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> --- lnx0107.orig/arch/x86/xen/irq.c
> +++ lnx0107/arch/x86/xen/irq.c
> @@ -126,7 +126,7 @@ static const struct pv_irq_ops xen_irq_o
> #endif
> };
>
> -void __init xen_init_irq_ops()
> +void __init xen_init_irq_ops(void)
> {
> pv_irq_ops = xen_irq_ops;
> x86_init.irqs.intr_init = xen_init_IRQ;
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-01-11 15:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-09 4:00 [PATCH] xen: fix non-ANSI function warning in irq.c Randy Dunlap
2011-01-11 15:15 ` Konrad Rzeszutek Wilk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).