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>
This commit is contained in:
parent
a3a94156c1
commit
a128592799
|
@ -66,8 +66,8 @@ struct dpmac_cmd_get_counter {
|
|||
};
|
||||
|
||||
struct dpmac_rsp_get_counter {
|
||||
u64 pad;
|
||||
u64 counter;
|
||||
__le64 pad;
|
||||
__le64 counter;
|
||||
};
|
||||
|
||||
#endif /* _FSL_DPMAC_CMD_H */
|
||||
|
|
Loading…
Reference in New Issue