aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorBixuan Cui <[email protected]>2021-04-08 21:08:31 +0800
committerGreg Kroah-Hartman <[email protected]>2021-04-09 16:03:25 +0200
commit025f97d188006eeee4417bb475a6878d1e0eed3f (patch)
treeb29b045d83d2cb5064aed5ed54b002735f61d582 /tools/perf/scripts/python/stackcollapse.py
parent9535b99533904e9bc1607575aa8e9539a55435d7 (diff)
usb: core: hub: Fix PM reference leak in usb_port_resume()
pm_runtime_get_sync will increment pm usage counter even it failed. thus a pairing decrement is needed. Fix it by replacing it with pm_runtime_resume_and_get to keep usage counter balanced. Reported-by: Hulk Robot <[email protected]> Signed-off-by: Bixuan Cui <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions