summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorÍñigo Huguet <ihuguet@redhat.com>2022-01-13 12:42:53 +0300
committerKalle Valo <kvalo@kernel.org>2022-01-28 18:57:46 +0300
commit89e4a00ff3c0352fff27351058a25b39db30ede2 (patch)
tree1192b37c59f83233af25e01cd1897187c47252d7 /tools/perf/scripts/python
parente0925375b2c658505fb8a04dcadc12f8d59574fd (diff)
downloadlinux-89e4a00ff3c0352fff27351058a25b39db30ede2.tar.xz
rtw89: fix maybe uninitialized `qempty` variable
Call to dle_dfi_qempty might fail, leaving qempty.qempty untouched, which is latter used to control the for loop. If that happens, it's not initialized anywhere. Initialize it so the loop doesn't iterate unless it's modified by the call to dle_dfi_qempty. Signed-off-by: Íñigo Huguet <ihuguet@redhat.com> Acked-by: Ping-Ke Shih <pkshih@realtek.com> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://lore.kernel.org/r/20220113094253.73370-1-ihuguet@redhat.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions