Re: [RFC PATCH] move drm to pci_request_irq

Frederik Deweerdt
2006-10-02T20:27:51Z

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.