[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160906.165728.124928924200975859.davem@davemloft.net>
Date: Tue, 06 Sep 2016 16:57:28 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: arnd@...db.de
Cc: richardcochran@...il.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] ptp: ixp46x: remove NO_IRQ handling
From: Arnd Bergmann <arnd@...db.de>
Date: Tue, 6 Sep 2016 21:20:36 +0200
> 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@...db.de>
> Acked-by: Richard Cochran <richardcochran@...il.com>
Applied to net-next, thanks.
Powered by blists - more mailing lists