diff options
author | Colin Ian King <colin.king@canonical.com> | 2019-12-21 00:40:46 +0000 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2020-01-26 12:45:08 +0200 |
commit | eefca584140b42551e642277515ca26be0ca5ef3 (patch) | |
tree | 0f48750f694a25379650921bd0720f49ca72f16e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 5815719dd2714a369448159a562f6fdf75ffe87b (diff) |
ath11k: ensure ts.flags is initialized before bit-wise or'ing in values
Currently the structure ts is not inititalized and ts.flags contains
garbage values from the stack. This is being passed into function
ath11k_dp_tx_status_parse that bit-wise or'ing in settings into the
ts.flags field. To avoid flags (and other fields) from containing
garbage, initialize the structure to zero before use.
Addresses-Coverity: ("Uninitialized scalar variable)"
Fixes: d5c65159f289 ("ath11k: driver for Qualcomm IEEE 802.11ax devices")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
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