Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1477892
| From | David Miller <davem@davemloft.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2] ptp: ixp46x: remove NO_IRQ handling |
| Date | 2016-09-07 02:00 +0200 |
| Message-ID | <seyrw-oi-9@gated-at.bofh.it> (permalink) |
| References | <seuee-688-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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.
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH v2] ptp: ixp46x: remove NO_IRQ handling Arnd Bergmann <arnd@arndb.de> - 2016-09-06 21:30 +0200 Re: [PATCH v2] ptp: ixp46x: remove NO_IRQ handling David Miller <davem@davemloft.net> - 2016-09-07 02:00 +0200
csiph-web