lkml.org 
[lkml]   [2016]   [Sep]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v2] ptp: ixp46x: remove NO_IRQ handling
From
From: Arnd Bergmann <arnd@arndb.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@arndb.de>
> Acked-by: Richard Cochran <richardcochran@gmail.com>

Applied to net-next, thanks.

\
 
 \ /
  Last update: 2016-09-17 09:58    [W:0.032 / U:1.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site