1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/ethernet/microchip
Li Qiong 40b4ac880e net: lan966x: fix checking for return value of platform_get_irq_byname()
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>
2022-08-12 11:29:46 +01:00
..
lan966x net: lan966x: fix checking for return value of platform_get_irq_byname() 2022-08-12 11:29:46 +01:00
sparx5 Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-06-30 16:31:00 -07:00
enc28j60.c net: ethernet: Use netif_rx(). 2022-03-04 12:02:19 +00:00
enc28j60_hw.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
encx24j600-regmap.c net: encx24j600: check error in devm_regmap_init_encx24j600 2021-10-13 15:25:25 -07:00
encx24j600.c spi: make remove callback a void function 2022-02-09 13:00:45 +00:00
encx24j600_hw.h net: encx24j600: check error in devm_regmap_init_encx24j600 2021-10-13 15:25:25 -07:00
Kconfig net: lan966x: add the basic lan966x driver 2021-11-29 12:58:38 +00:00
lan743x_ethtool.c net: lan743x: Add support to SGMII 1G and 2.5G 2022-06-16 20:45:48 -07:00
lan743x_ethtool.h net: lan743x: Add support to LAN743x register dump 2022-06-16 20:45:48 -07:00
lan743x_main.c net: lan743x: Use correct variable in lan743x_sgmii_config() 2022-06-24 11:19:29 -07:00
lan743x_main.h net: lan743x: Add support to SGMII 1G and 2.5G 2022-06-16 20:45:48 -07:00
lan743x_ptp.c net: lan743x: Add support for PTP-IO Event Output (Periodic Output) 2022-03-18 12:53:23 +00:00
lan743x_ptp.h net: lan743x: Add support for PTP-IO Event Output (Periodic Output) 2022-03-18 12:53:23 +00:00
Makefile net: lan966x: add the basic lan966x driver 2021-11-29 12:58:38 +00:00