diff options
author | Zhang Qilong <[email protected]> | 2021-06-01 22:51:18 +0800 |
---|---|---|
committer | Herbert Xu <[email protected]> | 2021-06-11 15:03:29 +0800 |
commit | ca323b2c61ec321eb9f2179a405b9c34cdb4f553 (patch) | |
tree | aa125f89e0e9c1d9eecd4d83bdba98147d3301bf /scripts/gdb/linux/tasks.py | |
parent | d950cd1b1c204c4a72e08c7c13862451f9d7d902 (diff) |
crypto: omap-sham - Fix PM reference leak in omap sham ops
pm_runtime_get_sync will increment pm usage counter
even it failed. Forgetting to putting operation will
result in reference leak here. We fix it by replacing
it with pm_runtime_resume_and_get to keep usage counter
balanced.
Fixes: 604c31039dae4 ("crypto: omap-sham - Check for return value from pm_runtime_get_sync")
Signed-off-by: Zhang Qilong <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions