aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPing-Ke Shih <[email protected]>2021-12-01 17:38:16 +0800
committerKalle Valo <[email protected]>2021-12-08 20:31:18 +0200
commita58fdb7c843a37d6598204c6513961feefdadc6a (patch)
tree333a0bbab801655ab38f7c6b19eb0711de9b47d4 /tools/perf/scripts/python
parentc2258b29985eac9216a9e55f9d5bead9767f96da (diff)
rtw89: don't kick off TX DMA if failed to write skb
This is found by Smatch static checker warning: drivers/net/wireless/realtek/rtw89/mac80211.c:31 rtw89_ops_tx() error: uninitialized symbol 'qsel'. The warning is because 'qsel' isn't filled by rtw89_core_tx_write() due to failed to write. The way to fix it is to avoid kicking off TX DMA, so add 'return' to the failure case. Reported-by: Dan Carpenter <[email protected]> Signed-off-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')
0 files changed, 0 insertions, 0 deletions