mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
1 parent
a3a94156c1
commit
a128592799
1 file changed
+2
-2
@@ -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 */
|
||||
Reference in new issue
Block a user