Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dpaa2-eth: fix a build warning in dpmac.c

Fix below sparse warning in dpmac.c.
warning: cast to restricted __le64

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Yangbo Lu and committed by
David S. Miller
a1285927 a3a94156

+2 -2
+2 -2
drivers/net/ethernet/freescale/dpaa2/dpmac-cmd.h
··· 66 66 }; 67 67 68 68 struct dpmac_rsp_get_counter { 69 - u64 pad; 70 - u64 counter; 69 + __le64 pad; 70 + __le64 counter; 71 71 }; 72 72 73 73 #endif /* _FSL_DPMAC_CMD_H */