diff options
author | Zheng Yongjun <zhengyongjun3@huawei.com> | 2022-03-20 21:56:38 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2022-03-20 21:59:43 -0700 |
commit | 26623eea0da3476446909af96c980768df07bbd9 (patch) | |
tree | 35aaddc5470bc00c0266b7e82d4676c781450566 /mm/zsmalloc.c | |
parent | 409353cbe9fe48f6bc196114c442b1cff05a39bc (diff) | |
download | linux-26623eea0da3476446909af96c980768df07bbd9.tar.bz2 |
Input: stmfts - fix reference leak in stmfts_input_open
pm_runtime_get_sync() will increment pm usage counter even it
failed. Forgetting to call pm_runtime_put_noidle will result
in reference leak in stmfts_input_open, so we should fix it.
Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
Link: https://lore.kernel.org/r/20220317131604.53538-1-zhengyongjun3@huawei.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'mm/zsmalloc.c')
0 files changed, 0 insertions, 0 deletions