linux/drivers/soc/aspeed
Jiasheng Jiang 6e6d847a8c
soc: aspeed: socinfo: Add kfree for kstrdup
Add kfree() in the later error handling in order to avoid memory leak.

Fixes: e0218dca57 ("soc: aspeed: Add soc info driver")
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Link: https://lore.kernel.org/r/20230707021625.7727-1-jiasheng@iscas.ac.cn
Signed-off-by: Joel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20230810123104.231167-1-joel@jms.id.au
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2023-08-12 12:12:58 +02:00
..
aspeed-lpc-ctrl.c soc: aspeed: lpc-ctrl: Block error printing on probe defer cases 2022-02-08 09:52:59 +01:00
aspeed-lpc-snoop.c soc: aspeed: fix a ternary sign expansion bug 2021-04-23 11:16:47 +02:00
aspeed-p2a-ctrl.c soc: aspeed: p2a-ctrl: Fix boundary check for mmap 2021-08-17 18:00:44 +09:30
aspeed-socinfo.c soc: aspeed: socinfo: Add kfree for kstrdup 2023-08-12 12:12:58 +02:00
aspeed-uart-routing.c soc: aspeed: uart-routing: Use __sysfs_match_string 2023-08-12 12:12:34 +02:00
Kconfig soc: aspeed: Add UART routing support 2021-10-22 17:32:09 +02:00
Makefile soc: aspeed: Add UART routing support 2021-10-22 17:32:09 +02:00