OSDN Git Service

staging: fsl-dpaa2/eth: Use __leXX types where needed
authorIoana Radulescu <ruxandra.radulescu@nxp.com>
Fri, 9 Mar 2018 18:40:55 +0000 (12:40 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Mar 2018 09:13:54 +0000 (10:13 +0100)
One MC command structure got away with using uXX fields instead
of __leXX. Fix it.

Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fsl-dpaa2/ethernet/dpni-cmd.h

index 3120e22..d6f96f3 100644 (file)
@@ -539,8 +539,8 @@ struct dpni_rsp_get_taildrop {
 };
 
 struct dpni_rsp_get_api_version {
-       u16 major;
-       u16 minor;
+       __le16 major;
+       __le16 minor;
 };
 
 #endif /* _FSL_DPNI_CMD_H */