OSDN Git Service

dpaa2-eth: fix a build warning in dpmac.c
authorYangbo Lu <yangbo.lu@nxp.com>
Fri, 18 Sep 2020 09:22:25 +0000 (17:22 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Sep 2020 21:36:00 +0000 (14:36 -0700)
commita128592799b89d3985331d261fa4d41868ee4b04
tree5799d84f3cbaa0a1f35e2b83bc45dd509a8e6603
parenta3a94156c15737513a8ddda2b8770d2659bbc617
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>
drivers/net/ethernet/freescale/dpaa2/dpmac-cmd.h