We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e2956e commit 01f23c5Copy full SHA for 01f23c5
include/uapi/linux/usb/ch9.h
@@ -981,7 +981,11 @@ struct usb_ssp_cap_descriptor {
981
#define USB_SSP_MIN_RX_LANE_COUNT (0xf << 8)
982
#define USB_SSP_MIN_TX_LANE_COUNT (0xf << 12)
983
__le16 wReserved;
984
- __le32 bmSublinkSpeedAttr[1]; /* list of sublink speed attrib entries */
+ union {
985
+ __le32 legacy_padding;
986
+ /* list of sublink speed attrib entries */
987
+ __DECLARE_FLEX_ARRAY(__le32, bmSublinkSpeedAttr);
988
+ };
989
#define USB_SSP_SUBLINK_SPEED_SSID (0xf) /* sublink speed ID */
990
#define USB_SSP_SUBLINK_SPEED_LSE (0x3 << 4) /* Lanespeed exponent */
991
#define USB_SSP_SUBLINK_SPEED_LSE_BPS 0
0 commit comments