mirror of
https://github.com/torvalds/linux.git
synced 2026-12-06 21:34:39 +00:00
Fix a misusage of the struct usb_cdc_notification to pass arguments to the usb_control_msg function. The usb_control_msg function expects host endian arguments but usb_cdc_notification stores these values as little endian. Now usb_control_msg is directly invoked with host endian values. Signed-off-by: Giuseppe Scrivano <[email protected]> Signed-off-by: David S. Miller <[email protected]>