- To: Rob Herring <robherring2@xxxxxxxxx>
- Subject: Re: [PATCH 1/2] of/irq: Get rid of NO_IRQ usage
- From: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 6 Dec 2011 13:25:07 -0800
- Cc: Anton Vorontsov <cbouatmailru@xxxxxxxxx>, Ingo Molnar <mingo@xxxxxxx>, Jeff Garzik <jgarzik@xxxxxxxxxx>, Grant Likely <grant.likely@xxxxxxxxxxxx>, Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>, devicetree-discuss@xxxxxxxxxxxxxxxx, LKML <linux-kernel@xxxxxxxxxxxxxxx>, linux-ide@xxxxxxxxxxxxxxx, Randy Dunlap <rdunlap@xxxxxxxxxxxx>, linux-next@xxxxxxxxxxxxxxx, Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>, Alan Cox <alan@xxxxxxxxxxxxxxxxxxx>
- In-reply-to: <4EDE877A.4080708@gmail.com>
- List-id: <linux-ide.vger.kernel.org>
On Tue, Dec 6, 2011 at 1:22 PM, Rob Herring <robherring2@xxxxxxxxx> wrote:
>
> This warning code is really ugly. Can we just drop it? In my searching
> of in kernel dts files, there's only 1 instance I have found (Versatile
> AB watchdog) that would hit this.
I do agree. Especially since we never got any input on whether it works or not.
> If not, you don't need to handle irq_create_of_mapping return as that is
> already always 0 for no irq or error.
Yeah, I'd like to just remove NO_IRQ from the OF paths. Afaik, it
hasn't worked as NO_IRQ before anyway, so even if the rest of the
drivers end up continuing using NO_IRQ, the OF-enabled ones on ARM
should just stop. There can't be many of those yet.
Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Linux Filesystems]
[Linux SCSI]
[Linux RAID]
[Git]
[Kernel Newbies]
[Linux Newbie]
[Share Photos]
[Security]
[Netfilter]
[Bugtraq]
[Photo]
[Yosemite]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Samba]
[Video 4 Linux]
[Device Mapper]
[Linux Resources]