linux-yocto/drivers/base/regmap
Jiasheng Jiang c727f338ab regmap-irq: Add missing kfree()
commit 32ffed055d upstream.

Add kfree() for "d->main_status_buf" to the error-handling path to prevent
a memory leak.

Fixes: a2d21848d9 ("regmap: regmap-irq: Add main status register support")
Cc: stable@vger.kernel.org  # v5.1+
Signed-off-by: Jiasheng Jiang <jiashengjiangcool@gmail.com>
Link: https://patch.msgid.link/20250205004343.14413-1-jiashengjiangcool@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-02-21 13:57:19 +01:00
..
internal.h regmap: maple: Provide lockdep (sub)class for maple tree's internal lock 2024-12-14 20:00:01 +01:00
Kconfig
Makefile
regcache-flat.c
regcache-maple.c regmap: maple: Provide lockdep (sub)class for maple tree's internal lock 2024-12-14 20:00:01 +01:00
regcache-rbtree.c
regcache.c
regmap-ac97.c
regmap-debugfs.c
regmap-fsi.c
regmap-i2c.c regmap-i2c: Subtract reg size from max_write 2024-07-11 12:49:20 +02:00
regmap-i3c.c
regmap-irq.c regmap-irq: Add missing kfree() 2025-02-21 13:57:19 +01:00
regmap-kunit.c
regmap-mdio.c
regmap-mmio.c
regmap-ram.c
regmap-raw-ram.c
regmap-sccb.c
regmap-sdw-mbq.c
regmap-sdw.c
regmap-slimbus.c
regmap-spi-avmm.c
regmap-spi.c regmap: spi: Fix potential off-by-one when calculating reserved size 2024-09-08 07:54:45 +02:00
regmap-spmi.c
regmap-w1.c
regmap.c regmap: Use correct format specifier for logging range errors 2025-01-02 10:32:05 +01:00
trace.h