Re: [RFC PATCH] move drm to pci_request_irq

From: Frederik Deweerdt
Date: Mon Oct 02 2006 - 16:28:13 EST


On Mon, Oct 02, 2006 at 09:36:38PM +0100, Alan Cox wrote:
> Ar Llu, 2006-10-02 am 20:12 +0000, ysgrifennodd Frederik Deweerdt:
> > Hi,
> >
> > This proof-of-concept patch converts the drm driver to use the
> > pci_request_irq() function.
>
> 0 isn't invalid - it means no IRQ was assigned so wants a different
> message.
>
I understand, what about:

("No usable irq line was found (got #%d)\n", irqno)

This is generic enough, so that if on some arches a given irq (other
than 0) is invalid, the message still makes sense.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/