IRQ: add __must_check to request_irq
authorMonakhov Dmitriy <dmonakhov@openvz.org>
Tue, 8 May 2007 07:25:07 +0000 (00:25 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 8 May 2007 18:15:00 +0000 (11:15 -0700)
commit616883df78bd4b3fcdb6ddc39bd3d4cb902bfa32
treec1ad0fa79ae7cc50593e7b435006520b07578970
parentc761c84154dcd952182e4867d841298c9eb0b14b
IRQ: add __must_check to request_irq

This could help to find buggy drivers where request_irq return value wasn't
checked.  There's just no reason to ignore errors which can and do occur.
Anyone who got warning during compilation have to realise what it is't
realy safe code.

Signed-off-by: Monakhov Dmitriy <dmonakhov@openvz.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/interrupt.h