Skip to content

Commit 73e9cc1

Browse files
oneukumgregkh
authored andcommitted
USB: wdm: add annotation
This is not understandable without a comment on endianness Fixes: afba937 ("USB: CDC WDM driver") Cc: stable <[email protected]> Signed-off-by: Oliver Neukum <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 1fdc4dc commit 73e9cc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/usb/class/cdc-wdm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -909,7 +909,7 @@ static int wdm_wwan_port_tx(struct wwan_port *port, struct sk_buff *skb)
909909
req->bRequestType = (USB_DIR_OUT | USB_TYPE_CLASS | USB_RECIP_INTERFACE);
910910
req->bRequest = USB_CDC_SEND_ENCAPSULATED_COMMAND;
911911
req->wValue = 0;
912-
req->wIndex = desc->inum;
912+
req->wIndex = desc->inum; /* already converted */
913913
req->wLength = cpu_to_le16(skb->len);
914914

915915
skb_shinfo(skb)->destructor_arg = desc;

0 commit comments

Comments
 (0)