summaryrefslogtreecommitdiff
path: root/mm/tests/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorStepan Ionichev <sozdayvek@gmail.com>2026-05-23 23:44:18 +0500
committerWilliam Breathitt Gray <wbg@kernel.org>2026-05-28 07:13:33 +0900
commit4d9a902be374aea023f2193f729c26612e56b542 (patch)
tree712d4cc6f1471759c53c8a07c5ca41901a5447eb /mm/tests/git@git.tavy.me:linux.git
parentb400c076fe4b63576fa22fbb59078b030000970c (diff)
counter: interrupt-cnt: use devm_mutex_init()
interrupt_cnt_probe() calls mutex_init() but neither this driver nor the counter core issues a matching mutex_destroy() on unbind, so the lock debug state is leaked. Switch to devm_mutex_init() so the mutex is torn down in the same devm scope it was set up in. Signed-off-by: Stepan Ionichev <sozdayvek@gmail.com> Reviewed-by: Joshua Crofts <joshua.crofts1@gmail.com> Link: https://lore.kernel.org/r/20260523184418.7586-1-sozdayvek@gmail.com Signed-off-by: William Breathitt Gray <wbg@kernel.org>
Diffstat (limited to 'mm/tests/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions