From: William Breathitt Gray <wbg@kernel.org>
To: Stepan Ionichev <sozdayvek@gmail.com>
Cc: William Breathitt Gray <wbg@kernel.org>,
patrick.havelange@essensium.com, peng.fan@nxp.com,
linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org,
andy@kernel.org
Subject: Re: [PATCH] counter: ftm-quaddec: use devm_mutex_init()
Date: Mon, 1 Jun 2026 07:34:35 +0900 [thread overview]
Message-ID: <178026663949.725822.1015642435513872635.b4-ty@kernel.org> (raw)
In-Reply-To: <20260523184351.7567-1-sozdayvek@gmail.com>
On Sat, 23 May 2026 23:43:51 +0500, Stepan Ionichev wrote:
> 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.
>
> [...]
Applied, thanks!
[1/1] counter: ftm-quaddec: use devm_mutex_init()
commit: b400c076fe4b63576fa22fbb59078b030000970c
Best regards,
--
William Breathitt Gray <wbg@kernel.org>
prev parent reply other threads:[~2026-05-31 22:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-23 18:43 Stepan Ionichev
2026-05-31 22:34 ` William Breathitt Gray [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178026663949.725822.1015642435513872635.b4-ty@kernel.org \
--to=wbg@kernel.org \
--cc=andy@kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=patrick.havelange@essensium.com \
--cc=peng.fan@nxp.com \
--cc=sozdayvek@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®