aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorYe Weihua <yeweihua4@huawei.com>2021-04-08 19:06:38 +0800
committerWolfram Sang <wsa@kernel.org>2021-04-14 10:04:23 +0200
commitc4b1fcc310e655fa8414696c38a84d36c00684c8 (patch)
treeda1f332798a1f7b77fc16777c96a716531c9c1f0 /tools/perf/scripts/python/export-to-postgresql.py
parenti2c: xiic: fix reference leak when pm_runtime_get_sync fails (diff)
downloadlinux-dev-c4b1fcc310e655fa8414696c38a84d36c00684c8.tar.xz
linux-dev-c4b1fcc310e655fa8414696c38a84d36c00684c8.zip
i2c: imx: Fix PM reference leak in i2c_imx_reg_slave()
pm_runtime_get_sync() will increment the PM reference count even on failure. Forgetting to put the reference again will result in a leak. Replace it with pm_runtime_resume_and_get() to keep the usage counter balanced. Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Ye Weihua <yeweihua4@huawei.com> Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions