summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorWentao Liang <vulab@iscas.ac.cn>2026-09-17 12:23:25 +0000
committerJohannes Berg <johannes.berg@intel.com>2026-09-21 16:00:51 +0200
commita8b8881d0c1aff544fae190469d86db7b07f43a9 (patch)
treebe5ddbcf49f731263b4bb91df3acd9857f4f3e58 /tools/perf/scripts/python/stackcollapse.py
parent67a9e80c3ca20c9044cd6ee72cd6278dd19b5023 (diff)
downloadlinux-a8b8881d0c1aff544fae190469d86db7b07f43a9.tar.gz
linux-a8b8881d0c1aff544fae190469d86db7b07f43a9.zip
wifi: wlcore: Fix runtime PM leak in wlcore_remove()
pm_runtime_get_sync() keeps the runtime PM usage counter elevated even when it returns an error, so the reference taken at the beginning of wlcore_remove() has to be dropped on every exit path. When the device was not initialized the function returned early without doing so, leaking the reference. Release it with pm_runtime_put_noidle() as done on the other early error paths of this driver. Fixes: fa2648a34e73f ("wlcore: Add support for runtime PM") Cc: stable@vger.kernel.org Signed-off-by: Wentao Liang <vulab@iscas.ac.cn> Link: https://patch.msgid.link/20260917122325.2150910-1-vulab@iscas.ac.cn Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions