Skip to content

reset: Fix issues reported by Sashiko

Tzung-Bi Shih kernel-janitors lkml 2 versions – Applied

Status from this message: Applied to reset/fixes, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 5 repliesApplied
  2. v12 patches 2 repliesSuperseded

Changes in v2 from the cover letter

- Address review comments on reset_controller_unregister() cleanup and teardown ordering.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2reset: Fix reset_control leak when put after controller unregisterdrivers/reset/core.c+34 -132 replies
2/2reset: Fix circular locking dependency in reset_controller_unregister()drivers/reset/core.c+20 -61 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchBartosz GolaszewskiPhilipp Zabel
SeriesR-b
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] reset: Fix issues reported by Sashiko

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().
---
v2:
- Address review comments on reset_controller_unregister() cleanup and teardown ordering.

v1: https://lore.kernel.org/all/[email protected]

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 | 69 +++++++++++++++++++++++++++++++++-----------
 1 file changed, 52 insertions(+), 17 deletions(-)
Signature · 1 line
2.53.0