linux-yocto/drivers/base/regmap
Jiasheng Jiang 285f023740 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:50:05 +01:00
..
internal.h
Kconfig
Makefile
regcache-flat.c
regcache-lzo.c
regcache-rbtree.c
regcache.c regmap: fix bogus error on regcache_sync success 2023-12-13 18:39:20 +01:00
regmap-ac97.c
regmap-debugfs.c regmap: debugfs: Fix a erroneous check after snprintf() 2023-11-20 11:51:55 +01:00
regmap-i2c.c regmap-i2c: Subtract reg size from max_write 2024-07-11 12:47:17 +02:00
regmap-i3c.c
regmap-irq.c regmap-irq: Add missing kfree() 2025-02-21 13:50:05 +01:00
regmap-mdio.c
regmap-mmio.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:53:10 +02:00
regmap-spmi.c
regmap-w1.c
regmap.c regmap: detach regmap from dev on regmap_exit 2025-02-01 18:30:06 +01:00
trace.h