summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2017-08-18 11:05:19 +0300
committerKalle Valo <kvalo@codeaurora.org>2017-08-24 12:53:50 +0300
commitd9ee6015e573176e599693b6d0125ad74b210623 (patch)
treedd41ed3a11f84bcee31dcdc0569da3f5733172f6 /tools/perf/scripts/python/export-to-postgresql.py
parent14cc696c0a4aac823e41b9c29d04d1936cbf969c (diff)
rtlwifi: make a couple arrays larger
This is a static checker fix. "cal_num" is 10. We're declaring the tx_dt[] and rx_td[] arrays as 3 element arrays. The static checker complains that we do: tx_dt[cal] = (vdf_y[1]>>20)-(vdf_y[0]>>20); "cal" is the iterator and it is in the 0-9 range so it looks like we could corrupt memory. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions