Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6d5a7a65 authored by Thomas Körper's avatar Thomas Körper Committed by Marc Kleine-Budde
Browse files

can: esd_usb2: Fix sparse warnings



The hnd field of the structs does not need to be __le32: the
device just returns the value without using it itself.

Signed-off-by: default avatarThomas Körper <thomas.koerper@esd.eu>
Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
parent c54eb70e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -139,7 +139,7 @@ struct tx_msg {
	u8 cmd;
	u8 net;
	u8 dlc;
	__le32 hnd;
	u32 hnd;	/* opaque handle, not used by device */
	__le32 id; /* upper 3 bits contain flags */
	u8 data[8];
};
@@ -149,7 +149,7 @@ struct tx_done_msg {
	u8 cmd;
	u8 net;
	u8 status;
	__le32 hnd;
	u32 hnd;	/* opaque handle, not used by device */
	__le32 ts;
};