enetc: Fix endianness issues for enetc_ethtool
authorClaudiu Manoil <claudiu.manoil@nxp.com>
Thu, 19 Nov 2020 10:12:14 +0000 (12:12 +0200)
committerJakub Kicinski <kuba@kernel.org>
Fri, 20 Nov 2020 06:05:34 +0000 (22:05 -0800)
commitd548d3930ab635653d1549c864ce1a002dc3b218
tree81bdf96077e45b69b015d0fcb3c0af3af2155a16
parent6b13d8f71fb37c573993eccdf190e566d136c117
enetc: Fix endianness issues for enetc_ethtool

These particular fields are specified in the H/W reference
manual as having network byte order format, so enforce big
endian annotation for them and clear the related sparse
warnings in the process.

Signed-off-by: Claudiu Manoil <claudiu.manoil@nxp.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/freescale/enetc/enetc_hw.h