Am 29.07.2013 11:05, schrieb Linus Walleij:
On Mon, Jul 29, 2013 at 7:24 AM, Alexander Holler <hol...@ahsoftware.de> wrote:

Maybe it might be worth to suggest using/returning NO_IRQ in (new) patches
instead of zero. That would make it very clear that the value 0 isn't to be
used later.

Using NO_IRQ is also discouraged, and this is because we should
use the if (!irq) design pattern and not if (irq == NO_IRQ).

So the article on lkml is already outdated. After reading the article, I had the impression that using NO_IRQ (at least for return codes) is encouraged.

Regards,

Alexander Holler

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to