aboutsummaryrefslogtreecommitdiffstats
path: root/net/lapb/lapb_out.c
diff options
context:
space:
mode:
authorMarek Vasut <[email protected]>2016-05-25 22:40:23 +0000
committerDavid S. Miller <[email protected]>2016-05-26 04:43:35 +0000
commit643d60bf575daaba93c1ac0d0e1c4b1d4ded1f75 (patch)
tree821e2ccfdf4d2a69636756486ec619002417233d /net/lapb/lapb_out.c
parentnet: alx: use custom skb allocator (diff)
downloadkernel-643d60bf575daaba93c1ac0d0e1c4b1d4ded1f75.tar.gz
kernel-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 <[email protected]> Cc: David S. Miller <[email protected]> Cc: Giuseppe Cavallaro <[email protected]> Cc: Alexandre Torgue <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions