diff --git a/include/linux/usb_cdc.h b/include/linux/usb_cdc.h index 1b68c122279a82826aea36f02c80edb2fed384b6..f22d6beecc73172309bdf22b6ddbb4be2f1b51c8 100644 --- a/include/linux/usb_cdc.h +++ b/include/linux/usb_cdc.h @@ -114,7 +114,7 @@ struct usb_cdc_mdlm_detail_desc { /* type is associated with mdlm_desc.bGUID */ __u8 bGuidDescriptorType; - __u8 bDetailData[]; + __u8 bDetailData[0]; } __attribute__ ((packed)); /*-------------------------------------------------------------------------*/