]> git.baikalelectronics.ru Git - kernel.git/commit
sparc: fix sparse warnings in irq_32.c
authorSam Ravnborg <sam@ravnborg.org>
Mon, 8 Dec 2008 09:08:24 +0000 (01:08 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Dec 2008 09:08:24 +0000 (01:08 -0800)
commite83d3b6729b37209897eb1151c8811e08d6eb72c
tree69189bc5cd37a98cba8319fcdefa3b0b9fc4adad
parentad8b3572a067c28462e7910b395678df4242a683
sparc: fix sparse warnings in irq_32.c

Fix following sparse warnings:
symbol 'static_irqaction' was not declared. Should it be static?
symbol 'static_irq_count' was not declared. Should it be static?
symbol 'irq_action_lock' was not declared. Should it be static?
symbol 'unexpected_irq' was not declared. Should it be static?
symbol 'handler_irq' was not declared. Should it be static?
returning void-valued expression
returning void-valued expression
returning void-valued expression
symbol 'init_IRQ' was not declared. Should it be static?

Warnings were fixed by addding proper declarations
and fixing return path of a few functions.

There remains several warnings all related to the floppy driver.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/include/asm/irq_32.h
arch/sparc/kernel/entry.h
arch/sparc/kernel/irq_32.c
arch/sparc/kernel/kernel.h
arch/sparc/kernel/sun4d_irq.c