[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20111110153550.6274179d@lxorguk.ukuu.org.uk>
Date: Thu, 10 Nov 2011 15:35:50 +0000
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: Anton Vorontsov <cbouatmailru@...il.com>
Cc: Ingo Molnar <mingo@...e.hu>, Jeff Garzik <jgarzik@...hat.com>,
Grant Likely <grant.likely@...retlab.ca>,
Randy Dunlap <rdunlap@...otime.net>,
Stephen Rothwell <sfr@...b.auug.org.au>,
linux-next@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>,
"linux-ide@...r.kernel.org" <linux-ide@...r.kernel.org>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Andrew Morton <akpm@...ux-foundation.org>,
devicetree-discuss@...ts.ozlabs.org
Subject: Re: [PATCH] ata: Fix build error in pata_of_platform (NO_IRQ usage)
> The proper fix (stop OF code from returning NO_IRQ values) is pending.
Please just apply the proper fix.
> - The NO_IRQ disease spreads despite our willingness, even within
> the new OF code.
Then it can stop right here, because if the arch people don't fix their
code to use zero their ATA port won't work.
> +/* For archs that don't support NO_IRQ (such as x86), provide a dummy value */
> +#ifndef NO_IRQ
> +#define NO_IRQ 0
> +#endif
NAK - just test against zero. They've been complained at about this for
over two years. Enough is enough.
Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists