linux_dsm_epyc7002/drivers/net/ethernet/stmicro/stmmac
Marek Vasut 643d60bf57 net: stmmac: Fix incorrect memcpy source memory
The memcpy() currently copies mdio_bus_data into new_bus->irq, which
makes no sense, since the mdio_bus_data structure contains more than
just irqs. The code was likely supposed to copy mdio_bus_data->irqs
into the new_bus->irq instead, so fix this.

Fixes: e7f4dc3536 ("mdio: Move allocation of interrupts into core")
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: David S. Miller <davem@davemloft.net>
Cc: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Cc: Alexandre Torgue <alexandre.torgue@st.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-05-25 21:43:35 -07:00
..
chain_mode.c
common.h stmmac: support new GMAC4 2016-04-02 20:23:09 -04:00
descs_com.h
descs.h
dwmac4_core.c stmmac: add GMAC4 core support 2016-04-02 20:23:08 -04:00
dwmac4_descs.c net: ethernet: stmmac: GMAC4.xx: Fix TX descriptor preparation 2016-04-13 22:35:17 -04:00
dwmac4_descs.h stmmac: add descriptors function for GMAC 4.xx 2016-04-02 20:23:07 -04:00
dwmac4_dma.c stmmac: add DMA support for GMAC 4.xx 2016-04-02 20:23:08 -04:00
dwmac4_dma.h stmmac: add DMA support for GMAC 4.xx 2016-04-02 20:23:08 -04:00
dwmac4_lib.c stmmac: add DMA support for GMAC 4.xx 2016-04-02 20:23:08 -04:00
dwmac4.h stmmac: add GMAC4 core support 2016-04-02 20:23:08 -04:00
dwmac100_core.c stmmac: rework synopsys id read, moved to dwmac setup 2016-04-02 20:23:07 -04:00
dwmac100_dma.c
dwmac100.h
dwmac1000_core.c stmmac: rework synopsys id read, moved to dwmac setup 2016-04-02 20:23:07 -04:00
dwmac1000_dma.c stmmac: rework get_hw_feature function 2016-04-02 20:23:07 -04:00
dwmac1000.h
dwmac_dma.h
dwmac_lib.c
dwmac-generic.c
dwmac-ipq806x.c
dwmac-lpc18xx.c
dwmac-meson.c
dwmac-rk.c
dwmac-socfpga.c stmmac: dwmac-socfpga: make socfpga_dwmac_pm_ops static 2016-05-09 22:39:59 -04:00
dwmac-sti.c
dwmac-sunxi.c
enh_desc.c stmmac: rework the routines to show the ring status 2016-04-02 20:23:07 -04:00
Kconfig
Makefile stmmac: add GMAC4 core support 2016-04-02 20:23:08 -04:00
mmc_core.c stmmac: enhance mmc counter management 2016-04-02 20:23:08 -04:00
mmc.h stmmac: enhance mmc counter management 2016-04-02 20:23:08 -04:00
norm_desc.c stmmac: rework the routines to show the ring status 2016-04-02 20:23:07 -04:00
ring_mode.c
stmmac_ethtool.c stmmac: support new GMAC4 2016-04-02 20:23:09 -04:00
stmmac_hwtstamp.c
stmmac_main.c stmmac: hardware TX COE doesn't work when force_thresh_dma_mode is set 2016-05-16 22:17:45 -04:00
stmmac_mdio.c net: stmmac: Fix incorrect memcpy source memory 2016-05-25 21:43:35 -07:00
stmmac_pci.c stmmac: let remove/resume/suspend functions take device pointer 2016-05-03 15:22:19 -04:00
stmmac_platform.c stmmac: let remove/resume/suspend functions take device pointer 2016-05-03 15:22:19 -04:00
stmmac_platform.h
stmmac_ptp.c
stmmac_ptp.h
stmmac.h stmmac: let remove/resume/suspend functions take device pointer 2016-05-03 15:22:19 -04:00