From: David Miller <davem@davemloft.net>
To: arnd@arndb.de
Cc: richardcochran@gmail.com, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] ptp: ixp46x: remove NO_IRQ handling
Date: Tue, 06 Sep 2016 16:57:28 -0700 (PDT) [thread overview]
Message-ID: <20160906.165728.124928924200975859.davem@davemloft.net> (raw)
In-Reply-To: <20160906192053.1061021-1-arnd@arndb.de>
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.
prev parent reply other threads:[~2016-09-06 23:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-06 19:20 [PATCH v2] ptp: ixp46x: remove NO_IRQ handling Arnd Bergmann
2016-09-06 23:57 ` David Miller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160906.165728.124928924200975859.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=arnd@arndb.de \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=richardcochran@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.