aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2021-04-09 08:29:54 +0000
committerMark Brown <broonie@kernel.org>2021-04-09 13:44:00 +0100
commita23faea76d4cf5f75decb574491e66f9ecd707e7 (patch)
treef2cda6afa73f8aa2d0fe986afa4b15d4750aabd8 /tools/perf/scripts/python/export-to-postgresql.py
parentspi: fsl-lpspi: Fix PM reference leak in lpspi_prepare_xfer_hardware() (diff)
downloadwireguard-linux-a23faea76d4cf5f75decb574491e66f9ecd707e7.tar.xz
wireguard-linux-a23faea76d4cf5f75decb574491e66f9ecd707e7.zip
spi: omap-100k: Fix reference leak to master
Call spi_master_get() holds the reference count to master device, thus we need an additional spi_master_put() call to reduce the reference count, otherwise we will leak a reference to master. This commit fix it by removing the unnecessary spi_master_get(). Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Link: https://lore.kernel.org/r/20210409082954.2906933-1-weiyongjun1@huawei.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions