mirror-linux/drivers/base/regmap
Jiasheng Jiang 32ffed055d
regmap-irq: Add missing kfree()
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>
2025-02-05 11:55:42 +00:00
..
Kconfig
Makefile
internal.h regmap: maple: Provide lockdep (sub)class for maple tree's internal lock 2024-10-31 17:24:19 +00:00
regcache-flat.c regcache: use map->alloc_flags also for allocating cache 2024-08-28 13:52:29 +01:00
regcache-maple.c regmap: cache: mapple: use kmalloc_array() to replace kmalloc() 2024-12-02 00:31:15 +00:00
regcache-rbtree.c regmap: cache: rbtree: use krealloc_array() to replace krealloc() 2024-12-02 00:31:16 +00:00
regcache.c regmap: cache: Use BITS_TO_BYTES() 2024-12-02 00:30:58 +00:00
regmap-ac97.c
regmap-debugfs.c
regmap-fsi.c
regmap-i2c.c
regmap-i3c.c
regmap-irq.c regmap-irq: Add missing kfree() 2025-02-05 11:55:42 +00:00
regmap-kunit.c regmap: kunit: Fix repeated test param 2024-10-29 18:56:49 +00:00
regmap-mdio.c
regmap-mmio.c
regmap-ram.c
regmap-raw-ram.c
regmap-sccb.c
regmap-sdw-mbq.c regmap: sdw-mbq: Add support for SDCA deferred controls 2025-01-07 20:21:00 +00:00
regmap-sdw.c
regmap-slimbus.c
regmap-spi-avmm.c
regmap-spi.c
regmap-spmi.c
regmap-w1.c
regmap.c regmap: regmap_multi_reg_read(): make register list const 2024-12-11 14:24:09 +00:00
trace.h