kernel_samsung_a53x/arch/powerpc/sysdev
Kunwu Chan ea4e67c43d powerpc/xics: Check return value of kasprintf in icp_native_map_one_cpu
[ Upstream commit 45b1ba7e5d1f6881050d558baf9bc74a2ae13930 ]

kasprintf() returns a pointer to dynamically allocated memory
which can be NULL upon failure. Ensure the allocation was successful
by checking the pointer validity.

Signed-off-by: Kunwu Chan <chentao@kylinos.cn>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20231122030651.3818-1-chentao@kylinos.cn
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-23 23:20:45 +01:00
..
ge Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
xics powerpc/xics: Check return value of kasprintf in icp_native_map_one_cpu 2024-11-23 23:20:45 +01:00
xive powerpc/xive: Fix endian conversion size 2024-11-18 11:43:06 +01:00
6xx-suspend.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cpm2.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cpm2_pic.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cpm2_pic.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cpm_common.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cpm_gpio.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dart.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dart_iommu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcr-low.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcr.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ehv_pic.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fsl_85xx_cache_ctlr.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fsl_85xx_cache_sram.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fsl_85xx_l2ctlr.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fsl_gtm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fsl_lbc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fsl_mpic_err.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fsl_mpic_timer_wakeup.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fsl_msi.c powerpc/fsl-soc: hide unused const variable 2024-11-19 12:26:57 +01:00
fsl_msi.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fsl_pci.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fsl_pci.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fsl_pmc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fsl_rcpm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fsl_rio.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fsl_rio.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fsl_rmu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fsl_soc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fsl_soc.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
grackle.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i8259.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
indirect_pci.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ipic.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ipic.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mmio_nvram.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mpc5xxx_clocks.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mpic.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mpic.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mpic_msgr.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mpic_msi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mpic_timer.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mpic_u3msi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msi_bitmap.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
of_rtc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pmi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rtc_cmos_setup.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tsi108_dev.c Backport mac80211 patches from linux-6.1.y 2024-06-15 16:29:20 -03:00
tsi108_pci.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
udbg_memcons.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00