Skip to content
Commit 6809d216 authored by Ben Dooks's avatar Ben Dooks Committed by David S. Miller
Browse files

usbnet: smsc95xx: fix memcpy for accessing rx-data



Change the RX code to use get_unaligned_le32() instead of the combo
of memcpy and cpu_to_le32s(&var).

Signed-off-by: default avatarBen Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 0c8b2655
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment