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:43:51 +0500
committerWilliam Breathitt Gray <wbg@kernel.org>2026-05-28 07:12:18 +0900
commitb400c076fe4b63576fa22fbb59078b030000970c (patch)
tree6e82a1dad6af427e6d22b549ad24088f6fa42543 /mm/tests/git@git.tavy.me:linux.git
parentee4133b921a17b239ca617e9b0c16cad1277e9fd (diff)
counter: ftm-quaddec: use devm_mutex_init()
ftm_quaddec_probe() calls mutex_init() but neither the cleanup action nor a remove callback issues a matching mutex_destroy(), so the lock debug state is leaked on driver unbind. 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/20260523184351.7567-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