Re: [PATCH] net: lpc_eth: remove irq > NR_IRQS check from probe()

2015-12-03 Thread David Miller
From: Vladimir Zapolskiy Date: Wed, 2 Dec 2015 08:12:13 +0200 > If the driver is used on an ARM platform with SPARSE_IRQ defined, > semantics of NR_IRQS is different (minimal value of virtual irqs) and > by default it is set to 16, see arch/arm/include/asm/irq.h. > > This value may be less than

[PATCH] net: lpc_eth: remove irq > NR_IRQS check from probe()

2015-12-01 Thread Vladimir Zapolskiy
If the driver is used on an ARM platform with SPARSE_IRQ defined, semantics of NR_IRQS is different (minimal value of virtual irqs) and by default it is set to 16, see arch/arm/include/asm/irq.h. This value may be less than the actual number of virtual irqs, which may break the driver initializati