1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/dsa/microchip
Sun Ke 2f8a786f47 net: dsa: microchip: lan937x: fix reference count leak in lan937x_mdio_register()
This node pointer is returned by of_find_compatible_node() with
refcount incremented in this function. of_node_put() on it before
exitting this function.

Fixes: c9cd961c0d ("net: dsa: microchip: lan937x: add interrupt support for port phy link")
Signed-off-by: Sun Ke <sunke32@huawei.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20220908040226.871690-1-sunke32@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2022-09-19 14:17:59 -07:00
..
Kconfig net: dsa: microchip: add DSA support for microchip LAN937x 2022-07-02 16:34:05 +01:00
ksz8.h net: dsa: microchip: allow to pass return values for PHY read/write accesses 2022-08-31 09:41:19 +01:00
ksz8795.c net: dsa: microchip: remove unused port phy variable 2022-08-31 09:41:23 +01:00
ksz8795_reg.h net: dsa: microchip: ksz8795: use common xmii function 2022-07-27 09:39:17 +01:00
ksz8863_smi.c net: dsa: microchip: remove the struct ksz8 2022-06-29 13:47:59 +01:00
ksz9477.c net: dsa: microchip: add the support for set_ageing_time 2022-09-16 21:51:47 +01:00
ksz9477.h net: dsa: microchip: add the support for set_ageing_time 2022-09-16 21:51:47 +01:00
ksz9477_i2c.c net: dsa: microchip: add KSZ9896 to KSZ9477 I2C driver 2022-09-07 10:39:06 +01:00
ksz9477_reg.h net: dsa: microchip: add the support for set_ageing_time 2022-09-16 21:51:47 +01:00
ksz_common.c net: dsa: microchip: add the support for set_ageing_time 2022-09-16 21:51:47 +01:00
ksz_common.h net: dsa: microchip: add the support for set_ageing_time 2022-09-16 21:51:47 +01:00
ksz_spi.c net: dsa: microchip: add KSZ9896 switch support 2022-09-07 10:39:06 +01:00
lan937x.h net: dsa: microchip: add the support for set_ageing_time 2022-09-16 21:51:47 +01:00
lan937x_main.c net: dsa: microchip: lan937x: fix reference count leak in lan937x_mdio_register() 2022-09-19 14:17:59 -07:00
lan937x_reg.h net: dsa: microchip: add the support for set_ageing_time 2022-09-16 21:51:47 +01:00
Makefile net: dsa: microchip: add DSA support for microchip LAN937x 2022-07-02 16:34:05 +01:00