Thread (3 messages) 3 messages, 2 authors, 2016-09-06

Re: [PATCH] ptp: ixp46x: remove NO_IRQ handling

flat view

From: Richard Cochran <richardcochran@gmail.com>
Date: 2016-09-06 16:39:20
Also in: lkml

On Tue, Sep 06, 2016 at 04:28:30PM +0200, Arnd Bergmann wrote:
gpio_to_irq does not return NO_IRQ but instead returns a negative
error code on failure. Returning NO_IRQ from the function has no
negative effects as we only compare the result to the expected
interrupt number, but it's better to return a proper failure
code for consistency, and we should remove NO_IRQ from the kernel
entirely.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help