The platform_get_irq_byname() returns non-zero IRQ number or negative error number. "if (irq)" always true, chang it to "if (irq > 0)" Signed-off-by: Li Qiong <liqiong@nfschina.com> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
---|---|---|
.. | ||
lan966x | ||
sparx5 | ||
enc28j60.c | ||
enc28j60_hw.h | ||
encx24j600-regmap.c | ||
encx24j600.c | ||
encx24j600_hw.h | ||
Kconfig | ||
lan743x_ethtool.c | ||
lan743x_ethtool.h | ||
lan743x_main.c | ||
lan743x_main.h | ||
lan743x_ptp.c | ||
lan743x_ptp.h | ||
Makefile |