aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorNavid Emamdoost <[email protected]>2020-06-05 03:06:43 +0000
committerJens Axboe <[email protected]>2020-06-05 03:14:50 +0000
commiteea1238867205b9e48a67c1a63219529a73c46fd (patch)
tree910173c7c1fad903159241f9bae822a22a712930 /tools/perf/scripts/python/check-perf-trace.py
parentatomisp: avoid warning about unused function (diff)
downloadkernel-eea1238867205b9e48a67c1a63219529a73c46fd.tar.gz
kernel-eea1238867205b9e48a67c1a63219529a73c46fd.zip
sata_rcar: handle pm_runtime_get_sync failure cases
Calling pm_runtime_get_sync increments the counter even in case of failure, causing incorrect ref count. Call pm_runtime_put if pm_runtime_get_sync fails. Signed-off-by: Navid Emamdoost <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions