diff options
author | Thiraviyam Mariyappan <quic_tmariyap@quicinc.com> | 2023-01-17 14:03:19 +0200 |
---|---|---|
committer | Kalle Valo <quic_kvalo@quicinc.com> | 2023-01-18 08:37:56 +0200 |
commit | 80166c42434c8deaa812443c5de73c69a7bed929 (patch) | |
tree | 5a52a425058686d9263868fdfb77e039a0fe46d7 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | b57f03200853817c06567fa8f0d02de0f2755d6a (diff) |
wifi: ath12k: dp_mon: Fix out of bounds clang warning
Fix below out-of-bounds access warning while processing ppdu end user
stats. The size of info array is 6 but storing 7 values, Fix this with
increasing info array size to 7.
Warning:
drivers/net/wireless/ath/ath12k/dp_mon.c:623:3: warning: array index 6 is past the end of the array (that has type 'u32[6]' (aka 'unsigned int[6]')) [-Warray-bounds]
Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0-03171-QCAHKSWPL_SILICONZ-1
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Thiraviyam Mariyappan <quic_tmariyap@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20221221105529.19345-4-quic_tmariyap@quicinc.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions