aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/usb_cdc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/usb_cdc.h b/include/linux/usb_cdc.h
index 1b68c122279..f22d6beecc7 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));
/*-------------------------------------------------------------------------*/