diff options
| author | Runyu Xiao <runyu.xiao@seu.edu.cn> | 2026-08-27 16:26:56 +0800 |
|---|---|---|
| committer | Michael Walle <mwalle@kernel.org> | 2026-09-14 15:37:24 +0200 |
| commit | 44b8a0bf5f96e8393312fc34b956766882341f16 (patch) | |
| tree | 63fc50d209b2cac910ca7a97515fc094a630695a /scripts/cleanpatch | |
| parent | 21f027016b1290d13c30b198ae7a00e6b3d1d5a5 (diff) | |
| download | linux-44b8a0bf5f96e8393312fc34b956766882341f16.tar.gz linux-44b8a0bf5f96e8393312fc34b956766882341f16.zip | |
mtd: spi-nor: core: Fix mutex leak in spi_nor_rww_start_exclusive()
Use the same guard(mutex) pattern as the other RWW helpers so nor->lock
is released on both the busy and successful return paths.
Fixes: 03e7bb864d9a ("mtd: spi-nor: use scope-based mutex cleanup helpers")
Cc: stable@vger.kernel.org
Signed-off-by: Runyu Xiao <runyu.xiao@seu.edu.cn>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Tudor Ambarus <tudor.ambarus@linaro.org>
[mw: rephrased commit message]
Signed-off-by: Michael Walle <mwalle@kernel.org>
Diffstat (limited to 'scripts/cleanpatch')
0 files changed, 0 insertions, 0 deletions
