OrangePi_CM5/drivers/net/ethernet/stmicro/stmmac
Yang Yingliang 4eee980950 net: stmmac: dwmac-sun8i: add missing of_node_put() in sun8i_dwmac_register_mdio_mux()
commit 1a15267b7be77e0792cf0c7b36ca65c8eb2df0d8 upstream.

The node pointer returned by of_get_child_by_name() with refcount incremented,
so add of_node_put() after using it.

Fixes: 634db83b82 ("net: stmmac: dwmac-sun8i: Handle integrated/external MDIOs")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20220428095716.540452-1-yangyingliang@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-05-12 12:25:40 +02:00
..
Kconfig
…
Makefile
…
altr_tse_pcs.c net: ethernet: stmmac: fix altr_tse_pcs function when using a fixed-link 2022-04-20 09:23:13 +02:00
altr_tse_pcs.h net: ethernet: stmmac: fix altr_tse_pcs function when using a fixed-link 2022-04-20 09:23:13 +02:00
chain_mode.c
…
common.h
…
descs.h
…
descs_com.h
…
dwmac-anarion.c
…
dwmac-dwc-qos-eth.c
…
dwmac-generic.c net: stmmac: add support for dwmac 3.40a 2021-10-27 09:56:54 +02:00
dwmac-imx.c
…
dwmac-intel-plat.c
…
dwmac-intel.c net: stmmac: disable Split Header (SPH) for Intel platforms 2022-05-12 12:25:32 +02:00
dwmac-intel.h
…
dwmac-ipq806x.c net: ethernet: stmmac: Do not use unreachable() in ipq806x_gmac_probe() 2021-09-18 13:40:26 +02:00
dwmac-lpc18xx.c
…
dwmac-mediatek.c
…
dwmac-meson.c
…
dwmac-meson8b.c
…
dwmac-oxnas.c
…
dwmac-qcom-ethqos.c
…
dwmac-rk.c net: stmmac: dwmac-rk: Fix ethernet on rk3399 based devices 2021-11-26 10:39:18 +01:00
dwmac-socfpga.c net: ethernet: stmmac: fix write to sgmii_adapter_base 2022-05-09 09:05:07 +02:00
dwmac-sti.c
…
dwmac-stm32.c
…
dwmac-sun8i.c net: stmmac: dwmac-sun8i: add missing of_node_put() in sun8i_dwmac_register_mdio_mux() 2022-05-12 12:25:40 +02:00
dwmac-sunxi.c
…
dwmac4.h
…
dwmac4_core.c
…
dwmac4_descs.c
…
dwmac4_descs.h
…
dwmac4_dma.c net: stmmac: fix get_hw_feature() on old hardware 2021-10-20 11:45:04 +02:00
dwmac4_dma.h
…
dwmac4_lib.c
…
dwmac5.c
…
dwmac5.h
…
dwmac100.h
…
dwmac100_core.c
…
dwmac100_dma.c
…
dwmac1000.h
…
dwmac1000_core.c
…
dwmac1000_dma.c net: stmmac: fix get_hw_feature() on old hardware 2021-10-20 11:45:04 +02:00
dwmac_dma.h net: stmmac: dump gmac4 DMA registers correctly 2022-02-08 18:30:38 +01:00
dwmac_lib.c
…
dwxgmac2.h
…
dwxgmac2_core.c
…
dwxgmac2_descs.c
…
dwxgmac2_dma.c net: stmmac: fix get_hw_feature() on old hardware 2021-10-20 11:45:04 +02:00
dwxlgmac2.h
…
enh_desc.c
…
hwif.c
…
hwif.h net: stmmac: fix get_hw_feature() on old hardware 2021-10-20 11:45:04 +02:00
mmc.h
…
mmc_core.c
…
norm_desc.c
…
ring_mode.c
…
stmmac.h net: stmmac: retain PTP clock time during SIOCSHWTSTAMP ioctls 2021-12-01 09:19:05 +01:00
stmmac_ethtool.c net: stmmac: dump gmac4 DMA registers correctly 2022-02-08 18:30:38 +01:00
stmmac_hwtstamp.c net: stmmac: Use readl_poll_timeout_atomic() in atomic state 2022-04-27 13:53:51 +02:00
stmmac_main.c net: stmmac: disable Split Header (SPH) for Intel platforms 2022-05-12 12:25:32 +02:00
stmmac_mdio.c net: stmmac: add clocks management for gmac driver 2021-11-21 13:46:36 +01:00
stmmac_pci.c
…
stmmac_pcs.h
…
stmmac_platform.c net: stmmac: Fix unset max_speed difference between DT and non-DT platforms 2022-04-13 21:01:04 +02:00
stmmac_platform.h
…
stmmac_ptp.c
…
stmmac_ptp.h
…
stmmac_selftests.c
…
stmmac_tc.c net: stmmac: allow a tc-taprio base-time of zero 2021-11-18 14:04:28 +01:00