On Thu, 8 Sep 2016, Binyamin Sharet (bsharet) wrote:
> > I was thinking more like:
> >
> > struct usb_gadgetfs_ioctl_arg {
> > uint16_t length;
> > uint8_t reserved[2];
> >
> > uint8_t data[0];
> > }
> >
> > but the principle is pretty much the same.
> >
> > Alan Stern
> >
>
> Won’t the user lose the relevant information (e.g. feature
> structure) by using this model?
What feature structure? Aren't your feature lists just vectors of 64
bits? They can be stored in the .data field above.
Alan Stern
--
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