summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorFedor Pchelkin <pchelkin@ispras.ru>2025-11-04 16:57:09 +0300
committerPing-Ke Shih <pkshih@realtek.com>2025-11-06 14:28:25 +0800
commit7543818e97d5d54b3b2f75f1c4dedee298d7d914 (patch)
tree462608fb1f272c5df8b009608e715d360913b336 /tools/perf/scripts/python/stackcollapse.py
parent28a45575289f3292aa9cb7bacae18ba3ee7a6adf (diff)
wifi: rtw89: usb: fix leak in rtw89_usb_write_port()
When there is an attempt to write data and RTW89_FLAG_UNPLUGGED is set, this means device is disconnected and no urb is submitted. Return appropriate error code to the caller to properly free the allocated resources. Found by Linux Verification Center (linuxtesting.org). Fixes: 2135c28be6a8 ("wifi: rtw89: Add usb.{c,h}") Acked-by: Ping-Ke Shih <pkshih@realtek.com> Signed-off-by: Fedor Pchelkin <pchelkin@ispras.ru> Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> Link: https://patch.msgid.link/20251104135720.321110-3-pchelkin@ispras.ru
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions