On Tue, Dec 01, 2020 at 01:57:56PM +0000, Mark Brown wrote: > On Mon, 16 Nov 2020 09:23:10 +0100, Lukas Wunner wrote: > > If the calls to of_match_device(), of_alias_get_id(), > > devm_ioremap_resource(), devm_regmap_init_mmio() or devm_clk_get() > > fail on probe of the NPCM FIU SPI driver, the spi_controller struct is > > erroneously not freed. > > > > Fix by switching over to the new devm_spi_alloc_master() helper. > > Applied to > > https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next > > Thanks! > > [1/1] spi: npcm-fiu: Don't leak SPI master in probe error path > (no commit info) This patch is already in Linus' tree. (You applied it to spi.git on Nov 17.) Thanks, Lukas