mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
srcu_init_notifier_head() allocates resources that need to be released
with a srcu_cleanup_notifier_head() call.
Reported by kmemleak.
Fixes: 0fe3a66410 ("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]>