diff options
author | Alexandre Torgue <alexandre.torgue@st.com> | 2019-02-15 10:49:09 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-02-23 09:06:43 +0100 |
commit | b690bf8fdb338ba1a09d2a436514d48c81f916a8 (patch) | |
tree | 91a5f01637f28dca10c3917164614d5833b1d74b /net/ipv4/tcp_ipv4.c | |
parent | c15b7addede2b75303428c956faac3e78eafac46 (diff) |
net: stmmac: handle endianness in dwmac4_get_timestamp
[ Upstream commit 224babd62d6f19581757a6d8bae3bf9501fc10de ]
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@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
0 files changed, 0 insertions, 0 deletions