xen: fix non-ANSI function warning in irq.c
Subsystems (3)
PATCH 1/1 xen: fix non-ANSI function warning in irq.c
From: Randy Dunlap <[email protected]>
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 <[email protected]>
Cc Jeremy Fitzhardinge <[email protected]>
--- arch/x86/xen/irq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/xen/irq.c +1 -1
@@ -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;
Quoted 5 lines · Randy Dunlap
From: Randy Dunlap <[email protected]>
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.
Quoted 23 lines
Signed-off-by Randy Dunlap <[email protected]>Cc Jeremy Fitzhardinge <[email protected]>--- arch/x86/xen/irq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/x86/xen/irq.c +1
-1@@ -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
[email protected]
http://lists.xensource.com/xen-devel