Subject: Re: [PATCH] pata_of_platform: fix no irq handling

From: Anton Vorontsov <[email-masked]>
Date: Tue, 7 Oct 2008 01:32:09 +0400

On Mon, Oct 06, 2008 at 03:41:19PM -0500, Matt Sealey wrote:
> There is a simple problem with the patch which is that an "IRQ 0" can and does
> actually exist on a bunch of platforms, at least to the best of my knowledge.
> 
> Checking for -1 (which means for definite, no irq at all, because it is
> totally unambiguous, as a -1 IRQ numbering is "impossible") is more correct.

This was discussed years ago.

http://lkml.org/lkml/2005/11/22/159
http://lkml.org/lkml/2005/11/22/227

-- 
Anton Vorontsov
email: [email-masked]
irc://irc.freenode.net/bd2