enetc: fix le32/le16 degrading to integer warnings
authorY.b. Lu <yangbo.lu@nxp.com>
Mon, 27 May 2019 03:55:20 +0000 (03:55 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 May 2019 17:12:08 +0000 (10:12 -0700)
commitcec4f328c929f72ad634e8f385b589bd6eac80e5
treec2349763dc8a60a783639ebbae9ded1a80b0383e
parente9588eb9316ec3c6212ea6e6c31e2d0d91d67c2f
enetc: fix le32/le16 degrading to integer warnings

Fix blow sparse warning introduced by a previous patch.
- restricted __le32 degrades to integer
- restricted __le16 degrades to integer

Fixes: d39823121911 ("enetc: add hardware timestamping support")
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/enetc/enetc.c