Skip to content

Commit 7506789

Browse files
Jimmy Assarssonmarckleinebudde
authored andcommitted
can: kvaser_usb: Move comment regarding max_tx_urbs
Move comment regarding max_tx_urbs, to where the struct member is declared. Reviewed-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr> Signed-off-by: Jimmy Assarsson <extja@kvaser.com> Link: https://patch.msgid.link/20250725123452.41-6-extja@kvaser.com Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
1 parent 827158a commit 7506789

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/net/can/usb/kvaser_usb/kvaser_usb.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,12 +101,12 @@ struct kvaser_usb {
101101
struct usb_endpoint_descriptor *bulk_in, *bulk_out;
102102
struct usb_anchor rx_submitted;
103103

104+
u32 fw_version;
105+
unsigned int nchannels;
104106
/* @max_tx_urbs: Firmware-reported maximum number of outstanding,
105107
* not yet ACKed, transmissions on this device. This value is
106108
* also used as a sentinel for marking free tx contexts.
107109
*/
108-
u32 fw_version;
109-
unsigned int nchannels;
110110
unsigned int max_tx_urbs;
111111
struct kvaser_usb_dev_card_data card_data;
112112

0 commit comments

Comments
 (0)