android_kernel_xiaomi_sm8350/arch/powerpc/sysdev
Kunwu Chan 240fcfe119 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-09-04 13:14:54 +02:00
..
ge
xics powerpc/xics: Check return value of kasprintf in icp_native_map_one_cpu 2024-09-04 13:14:54 +02:00
xive powerpc/xive: Fix endian conversion size 2023-11-20 10:30:14 +01:00
6xx-suspend.S
cpm2_pic.c
cpm2_pic.h
cpm2.c
cpm_common.c
cpm_gpio.c
dart_iommu.c powerpc/iommu: Add missing of_node_put in iommu_init_early_dart 2022-06-14 18:11:31 +02:00
dart.h
dcr-low.S
dcr.c
ehv_pic.c
fsl_85xx_cache_ctlr.h
fsl_85xx_cache_sram.c
fsl_85xx_l2ctlr.c
fsl_gtm.c powerpc/sysdev: fix incorrect use to determine if list is empty 2022-04-15 14:18:15 +02:00
fsl_lbc.c
fsl_mpic_err.c
fsl_mpic_timer_wakeup.c
fsl_msi.c powerpc/fsl-soc: hide unused const variable 2024-06-16 13:28:38 +02:00
fsl_msi.h
fsl_pci.c powerpc/fsl-pci: Fix Class Code of PCIe Root Port 2022-08-25 11:17:25 +02:00
fsl_pci.h powerpc/fsl-pci: Fix Class Code of PCIe Root Port 2022-08-25 11:17:25 +02:00
fsl_pmc.c
fsl_rcpm.c
fsl_rio.c powerpc/fsl_rio: Fix refcount leak in fsl_rio_setup 2022-06-14 18:11:42 +02:00
fsl_rio.h
fsl_rmu.c
fsl_soc.c
fsl_soc.h
grackle.c
i8259.c
indirect_pci.c
ipic.c
ipic.h
Kconfig
Makefile
mmio_nvram.c
mpc5xxx_clocks.c
mpic_msgr.c
mpic_msi.c
mpic_timer.c
mpic_u3msi.c
mpic.c
mpic.h
msi_bitmap.c
of_rtc.c
pmi.c
rtc_cmos_setup.c
simple_gpio.c
simple_gpio.h
tsi108_dev.c
tsi108_pci.c powerpc/sysdev/tsi108: fix resource printk format warnings 2023-05-17 11:35:50 +02:00
udbg_memcons.c
xilinx_intc.c
xilinx_pci.c