aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorAjay Singh <[email protected]>2022-05-04 16:19:27 +0000
committerKalle Valo <[email protected]>2022-05-11 08:25:34 +0300
commit62296b3e19dd252694d24a60d6f10b487551d70b (patch)
treed91b78379e22e67bc28f447dd5b888edfaa17d20 /tools/perf/scripts/python/export-to-sqlite.py
parent819b161b9487870d1d1a76171b6820c6b977d99a (diff)
wilc1000: add valid vmm_entry check before fetching from TX queue
'vmm_table' array contains the size of data buffer length including host header length. In 'vmm_table' array, the Zero value means the end of vmm_entries that needs to transfer to firmware which is calculated based on VMM free size in firmware. Use 'vmm_table' valid entry check before fetching the entry from TX queue to only copy valid number of entries to avoid possible NULL pointer exception observed sometimes during large file transfers. Signed-off-by: Ajay Singh <[email protected]> Signed-off-by: Kalle Valo <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions