Re: [PATCH 5/5] sparc: fix sparse warnings in irq_32.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Sam Ravnborg <sam@xxxxxxxxxxxx>
Date: Sun,  7 Dec 2008 21:37:36 +0100

> 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@xxxxxxxxxxxx>

Applied.

Although the returning void-valued thing is easily my least
favorite sparse warning.  And even Linus seems to agree with
me, but nobody has done anything about it obviously :)
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux