mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] reset: Fix issues reported by Sashiko
@ 2026-11-02 15:58 Tzung-Bi Shih
  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
  0 siblings, 2 replies; 4+ messages in thread
From: Tzung-Bi Shih @ 2026-11-02 15:58 UTC (permalink / raw)
  To: Philipp Zabel; +Cc: Bartosz Golaszewski, linux-kernel, tzungbi

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-11-02 17:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-02 15:58 [PATCH 0/2] reset: Fix issues reported by Sashiko Tzung-Bi Shih
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

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®