[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2vxzy0l6x8kp.fsf@kernel.org>
Date: Fri, 06 Feb 2026 15:14:46 +0100
From: Pratyush Yadav <pratyush@...nel.org>
To: Dan Carpenter <dan.carpenter@...aro.org>
Cc: Krzysztof Kozlowski <krzysztof.kozlowski@....qualcomm.com>, Tudor
Ambarus <tudor.ambarus@...aro.org>, Pratyush Yadav <pratyush@...nel.org>,
Michael Walle <mwalle@...nel.org>, Miquel Raynal
<miquel.raynal@...tlin.com>, Richard Weinberger <richard@....at>,
Vignesh Raghavendra <vigneshr@...com>, linux-mtd@...ts.infradead.org,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH next] mtd: spi-nor: hisi-sfc: fix refcounting bug in
hisi_spi_nor_register_all()
On Fri, Feb 06 2026, Dan Carpenter wrote:
> This was converted to a _scoped() loop but this of_node_put() was
> accidentally left behind which is a double free.
>
> Fixes: aa8cb72c2018 ("mtd: spi-nor: hisi-sfc: Simplify with scoped for each OF child loop")
> Signed-off-by: Dan Carpenter <dan.carpenter@...aro.org>
Reviewed-by: Pratyush Yadav <pratyush@...nel.org>
Miquel, since you took the original patch through the NAND tree, can you
please take this one too?
[...]
--
Regards,
Pratyush Yadav
Powered by blists - more mailing lists