linux/drivers/mtd/spi-nor/controllers
Dan Carpenter 6c7860aa28 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: aa8cb72c20 ("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>
2026-02-06 15:22:42 +01:00
..
hisi-sfc.c mtd: spi-nor: hisi-sfc: fix refcounting bug in hisi_spi_nor_register_all() 2026-02-06 15:22:42 +01:00
Kconfig spi: spi-mem: Convert Aspeed SMC driver to spi-mem 2022-05-16 12:59:15 +01:00
Makefile spi: spi-mem: Convert Aspeed SMC driver to spi-mem 2022-05-16 12:59:15 +01:00
nxp-spifi.c mtd: Switch back to struct platform_driver::remove() 2024-10-21 11:58:07 +02:00