aboutsummaryrefslogtreecommitdiff
path: root/package/kernel/ath10k-ct/patches/300-fix-fortify-checking-error.patch
blob: 6966a5a4877af6470f7938f1b56f1c667b545152 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/ath10k-6.4/wmi.h
+++ b/ath10k-6.4/wmi.h
@@ -6341,7 +6341,7 @@ struct qca9880_set_ctl_table_cmd {
 	__le32 ctl_len; /* in bytes.  This may be ignored in firmware,
 			 * make sure ctl_info data is sizeof(qca9880_power_ctl) */
 	/** ctl array (len adjusted to  number of words) */
-	__le32 ctl_info[1]; /* data would be the qca9880_power_ctl table above */
+	__le32 ctl_info[]; /* data would be the qca9880_power_ctl table above */
 };
 
 /* Used by:   WMI_PDEV_SET_MIMOGAIN_TABLE_CMDID */