[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160906163910.GC7012@localhost.localdomain>
Date: Tue, 6 Sep 2016 18:39:10 +0200
From: Richard Cochran <richardcochran@...il.com>
To: Arnd Bergmann <arnd@...db.de>
Cc: "David S. Miller" <davem@...emloft.net>,
Kefeng Wang <wangkefeng.wang@...wei.com>,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ptp: ixp46x: remove NO_IRQ handling
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@...db.de>
Acked-by: Richard Cochran <richardcochran@...il.com>
Powered by blists - more mailing lists