diff options
author | 2016-05-26 00:40:23 +0200 | |
---|---|---|
committer | 2016-05-25 21:43:35 -0700 | |
commit | 643d60bf575daaba93c1ac0d0e1c4b1d4ded1f75 (patch) | |
tree | 821e2ccfdf4d2a69636756486ec619002417233d /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | net: alx: use custom skb allocator (diff) | |
download | wireguard-linux-643d60bf575daaba93c1ac0d0e1c4b1d4ded1f75.tar.xz wireguard-linux-643d60bf575daaba93c1ac0d0e1c4b1d4ded1f75.zip |
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: e7f4dc3536a4 ("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>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions