linux/drivers/soc
Haoxiang Li 4f31247ecb soc: loongson: loongson2_guts: Add check for devm_kstrdup()
commit e31e3f6c0c upstream.

Add check for the return value of devm_kstrdup() in
loongson2_guts_probe() to catch potential exception.

Fixes: b82621ac84 ("soc: loongson: add GUTS driver for loongson-2 platforms")
Cc: stable@vger.kernel.org
Signed-off-by: Haoxiang Li <haoxiang_li2024@163.com>
Link: https://lore.kernel.org/r/20250220081714.2676828-1-haoxiang_li2024@163.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2025-02-27 04:10:51 -08:00
..
actions genpd: move owl-sps-helper.c from drivers/soc 2023-07-26 14:41:01 +02:00
amlogic soc: amlogic: Explicitly include correct DT includes 2023-08-04 15:18:42 +02:00
apple soc: apple: Move power-domain driver to the genpd dir 2023-07-11 15:30:09 +02:00
aspeed ARM: SoC cleanups for 6.6 2023-08-30 16:49:40 -07:00
atmel soc: atmel: fix device_node release in atmel_soc_device_init() 2025-02-08 09:52:10 +01:00
bcm soc: bcm: Move power-domain drivers to the genpd dir 2023-07-11 15:30:09 +02:00
canaan soc: canaan: Make K210_SYSCTL depend on CLK_K210 2023-03-15 14:22:53 +00:00
dove treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
fsl soc: fsl: cpm1: qmc: Set the ret error code on platform_get_irq() failure 2024-12-14 19:59:42 +01:00
fujitsu soc: fujitsu: remove MODULE_LICENSE in non-modules 2023-04-13 13:13:50 -07:00
gemini soc: Add SoC driver for Gemini 2018-01-04 17:01:53 +01:00
hisilicon soc: kunpeng_hccs: fix some sparse warnings about incorrect type 2023-08-21 21:05:11 -04:00
imx soc: imx8m: Probe the SoC driver as platform driver 2024-12-14 20:00:00 +01:00
ixp4xx ARM: ixp4xx: Replace 0-length arrays with flexible arrays 2023-01-19 15:18:19 -08:00
lantiq soc: lantiq: convert to devm_platform_ioremap_resource 2020-01-10 11:44:52 -08:00
litex drivers/soc/litex: remove 8-bit subregister option 2021-06-11 04:35:40 +09:00
loongson soc: loongson: loongson2_guts: Add check for devm_kstrdup() 2025-02-27 04:10:51 -08:00
mediatek soc: mediatek: mtk-devapc: Fix leaking IO map on driver remove 2025-02-27 04:10:46 -08:00
microchip soc: microchip: Fix POLARFIRE_SOC_SYS_CTRL input prompt 2024-03-26 18:19:11 -04:00
nuvoton soc: nuvoton: Add SoC info driver for WPCM450 2023-02-01 17:11:36 +01:00
pxa pxa: Remove dev_err() after platform_get_irq() 2022-12-04 13:10:57 +01:00
qcom soc: qcom: smem_state: fix missing of_node_put in error path 2025-02-17 09:40:32 +01:00
renesas soc: renesas: ARCH_R9A07G043 depends on !RISCV_ISA_ZICBOM 2023-10-26 09:42:38 +02:00
rockchip ARM: SoC cleanups for 6.6 2023-08-30 16:49:40 -07:00
samsung Samsung SoC driver changes for v6.6 2023-08-12 12:09:43 +02:00
sifive soc: sifive: ccache: Add StarFive JH7110 support 2022-12-26 22:50:15 +00:00
starfive soc: starfive: Move the power-domain driver to the genpd dir 2023-07-14 10:40:56 +02:00
sunxi - simplify code in sunxi-rsb 2023-08-12 12:07:58 +02:00
tegra soc/tegra: fuse: Update Tegra234 nvmem keepout list 2025-02-21 13:57:09 +01:00
ti soc: ti: smartreflex: Use IRQF_NO_AUTOEN flag in request_irq() 2024-12-09 10:31:52 +01:00
ux500 ARM: ux500: do not directly dereference __iomem 2022-11-08 21:13:56 +01:00
versatile soc: versatile: realview: fix soc_dev leak during device remove 2024-10-04 16:29:57 +02:00
xilinx drivers: soc: xilinx: add the missing kfree in xlnx_add_cb_for_suspend() 2024-12-09 10:31:51 +01:00
Kconfig soc: hisilicon: Support HCCS driver on Kunpeng SoC 2023-08-08 12:36:29 +00:00
Makefile HiSilicon driver updates for v6.6 2023-08-12 12:10:46 +02:00