Re: [PATCH 06/38] Annotate hardware config module parameters in drivers/clocksource/

From: Thomas Gleixner
Date: Sat Apr 15 2017 - 05:55:23 EST


On Sat, 15 Apr 2017, David Howells wrote:
> Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:
>
> > > Btw, is it possible to use IRQ grants to prevent a device that has limited
> > > IRQ options from being drivable?
> >
> > What do you mean with 'IRQ grants' ?
>
> request_irq().

I still can't parse the sentence above. If request_irq() fails the device
initialization fails. If you request the wrong irq then request_irq() might
succeed but the device won't work.

Thanks,

tglx