Re: [PATCH] usb: gadget: f_fs: OS descriptors support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Andrzej Pietrasiewicz wrote:
> +++ b/include/uapi/linux/usb/functionfs.h
> @@ -33,6 +32,42 @@ struct usb_endpoint_descriptor_no_audio {
..
> +/* MS OS Extended Compatibility Descriptor header */
> +struct usb_ext_compat_desc_header {
> +	struct	usb_os_desc_header header;
> +	__u8	bCount;
> +	__u8	Reserved;
> +} __attribute__((packed));
> +
> +struct usb_ext_compat_desc {
> +	__u8	bFirstInterfaceNumber;
> +	__u8	Reserved1;
> +	__u8	CompatibleID[8];
> +	__u8	SubCompatibleID[8];
> +	__u8	Reserved2[6];
> +};

Shouldn't usb_ext_compat_desc be packed too, like all the others?


//Peter
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux