usb: usbtmc: Add ioctl for generic requests on control
Greg Kroah-Hartman
maintainerPATCH v3 2/23 usb: usbtmc: Add ioctl for generic requests on control
Review
Quoted 4 lines · Guido Kiener
(quoted diff) +4
-0+struct usbtmc_ctrlrequest { + struct usbtmc_request req; + __u64 data; /* pointer to user space */ +} __attribute__ ((packed));
Hint, this structure could just be:
struct usbtmc_ctrlreqest {
struct usbtmc_request req;
__u8 data[0];
} __attribute__((__aligned__(8)));No more pointer mess anymore, right?
thanks,
greg k-h
---
To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html