Linux/linux 4012e7ddrivers/net/ethernet/stmicro/stmmac dwmac4_descs.c

net: stmmac: handle endianness in dwmac4_get_timestamp

GMAC IP is little-endian and used on several kind of CPU (big or little
endian). Main callbacks functions of the stmmac drivers take care about
it. It was not the case for dwmac4_get_timestamp function.

Fixes: ba1ffd74df74 ("stmmac: fix PTP support for GMAC4")
Signed-off-by: Alexandre Torgue <alexandre.torgue at st.com>
Signed-off-by: David S. Miller <davem at davemloft.net>
DeltaFile
+6-3drivers/net/ethernet/stmicro/stmmac/dwmac4_descs.c
+6-31 files

UnifiedSplitRaw