aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-ti.c
diff options
context:
space:
mode:
authorChristian Marangi <[email protected]>2022-10-12 19:18:37 +0200
committerDavid S. Miller <[email protected]>2022-10-14 08:22:28 +0100
commit0d4636f7d72df3179b20a2d32b647881917a5e2a (patch)
treea4daa7ebb64891c2035451152598538d883cbaed /drivers/usb/cdns3/cdns3-ti.c
parenta2550d3ce53c68f54042bc5e468c4d07491ffe0e (diff)
net: dsa: qca8k: fix ethtool autocast mib for big-endian systems
The switch sends autocast mib in little-endian. This is problematic for big-endian system as the values needs to be converted. Fix this by converting each mib value to cpu byte order. Fixes: 5c957c7ca78c ("net: dsa: qca8k: add support for mib autocast in Ethernet packet") Tested-by: Pawel Dembicki <[email protected]> Tested-by: Lech Perczak <[email protected]> Signed-off-by: Christian Marangi <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-ti.c')
0 files changed, 0 insertions, 0 deletions