From: Tzung-Bi Shih <tzungbi@kernel.org>
To: Philipp Zabel <p.zabel@pengutronix.de>
Cc: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>,
linux-kernel@vger.kernel.org, tzungbi@kernel.org
Subject: [PATCH 0/2] reset: Fix issues reported by Sashiko
Date: Mon, 2 Nov 2026 23:58:38 +0800 [thread overview]
Message-ID: <20261102155840.20376-1-tzungbi@kernel.org> (raw)
This series fixes two issues in the reset controller unregistration path
reported by Sashiko:
- Patch 1 fixes a reset_control leak when reset_control_put() is called
after reset_controller_unregister().
- Patch 2 fixes a circular locking dependency between `rcdev->lock` and
`rstc->srcu` in reset_controller_unregister().
Tzung-Bi Shih (2):
reset: Fix reset_control leak when put after controller unregister
reset: Fix circular locking dependency in
reset_controller_unregister()
drivers/reset/core.c | 34 +++++++++++++++++++++++++++-------
1 file changed, 27 insertions(+), 7 deletions(-)
--
2.53.0
next reply other threads:[~2026-11-02 16:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-02 15:58 Tzung-Bi Shih [this message]
2026-11-02 15:58 ` [PATCH 1/2] reset: Fix reset_control leak when put after controller unregister Tzung-Bi Shih
2026-11-02 15:58 ` [PATCH 2/2] reset: Fix circular locking dependency in reset_controller_unregister() Tzung-Bi Shih
2026-11-02 17:54 ` Philipp Zabel
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=20261102155840.20376-1-tzungbi@kernel.org \
--to=tzungbi@kernel.org \
--cc=bartosz.golaszewski@oss.qualcomm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=p.zabel@pengutronix.de \
/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®