On Mon, May 18, 2020 at 08:41:37PM +0300, Andy Shevchenko wrote: > 0 is not valid IRQ number in Linux interrupt number space. > Refactor the code with this kept in mind. > if (pp->irq[j] >= 0) Oops, missed this one to drop >= 0. I'll wait for your and Lee's comments / tags for the rest and then send v3. > pp->has_irq = true; -- With Best Regards, Andy Shevchenko