diff options
| author | Dan Carpenter <dan.carpenter@linaro.org> | 2026-02-06 16:38:54 +0300 |
|---|---|---|
| committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2026-02-06 15:22:42 +0100 |
| commit | 6c7860aa28b81b7e909b8d2072ed76fa22db6eda (patch) | |
| tree | be974655108ec4ffff89942e3e213c77f5825326 /tools/lib/python/kdoc | |
| parent | e82269e7cb93a2d33368418be4ee56015b4adc27 (diff) | |
mtd: spi-nor: hisi-sfc: fix refcounting bug in hisi_spi_nor_register_all()
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@linaro.org>
Reviewed-by: Pratyush Yadav <pratyush@kernel.org>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'tools/lib/python/kdoc')
0 files changed, 0 insertions, 0 deletions
