diff options
| author | Boris Brezillon <[email protected]> | 2023-08-09 11:31:08 +0000 |
|---|---|---|
| committer | Chanwoo Choi <[email protected]> | 2023-08-10 13:48:16 +0000 |
| commit | 5693d077595de721f9ddbf9d37f40e5409707dfe (patch) | |
| tree | 20a724998928d877420a44eee89bbf68e3ede742 /tools/perf/scripts/python/sched-migration.py | |
| parent | PM / devfreq: Reword the kernel-doc comment for devfreq_monitor_start() API (diff) | |
| download | kernel-5693d077595de721f9ddbf9d37f40e5409707dfe.tar.gz kernel-5693d077595de721f9ddbf9d37f40e5409707dfe.zip | |
PM / devfreq: Fix leak in devfreq_dev_release()
srcu_init_notifier_head() allocates resources that need to be released
with a srcu_cleanup_notifier_head() call.
Reported by kmemleak.
Fixes: 0fe3a66410a3 ("PM / devfreq: Add new DEVFREQ_TRANSITION_NOTIFIER notifier")
Cc: <[email protected]>
Signed-off-by: Boris Brezillon <[email protected]>
Reviewed-by: Dhruva Gole <[email protected]>
Signed-off-by: Chanwoo Choi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions
