]> git.baikalelectronics.ru Git - kernel.git/commit
net: broadcom: bcm4908_enet: fix endianness in xmit code
authorRafał Miłecki <rafal@milecki.pl>
Thu, 11 Feb 2021 12:12:39 +0000 (13:12 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Feb 2021 23:04:17 +0000 (15:04 -0800)
commit3c4a6a5fd4007a1b5895f8a9c41f5faf20cb546f
tree8fbfd3d0c1cfe4b1191fb7cc8bea5a87ee36ddb5
parent05c09880f222015f28aed1688f54da26339f755a
net: broadcom: bcm4908_enet: fix endianness in xmit code

Use le32_to_cpu() for reading __le32 struct field filled by hw.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bcm4908_enet.c