aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2023-04-21 13:44:04 +0300
committerKalle Valo <[email protected]>2023-05-05 15:01:37 +0300
commit9d4f491b860ea6d04471c3342093b86a46eee63e (patch)
treeb8eae9a9594347364c6a91bca0142a3d9a6fbd13 /tools/perf/scripts/python/flamegraph.py
parenta83c6bb22745168dbe6592a9872f262615ee174b (diff)
wifi: rtw89: fix rtw89_read_chip_ver() for RTL8852B and RTL8851B
The if statement is reversed so it will not record the chip version. This was detected using Smatch: drivers/net/wireless/realtek/rtw89/core.c:3593 rtw89_read_chip_ver() error: uninitialized symbol 'val'. Fixes: a6fb2bb84654 ("wifi: rtw89: read version of analog hardware") Signed-off-by: Dan Carpenter <[email protected]> Acked-by: Ping-Ke Shih <[email protected]> Signed-off-by: Kalle Valo <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions