kernel_samsung_a53x/arch/x86/xen
Kunwu Chan 28a6931f4c x86/xen: Add some null pointer checking to smp.c
[ Upstream commit 3693bb4465e6e32a204a5b86d3ec7e6b9f7e67c2 ]

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>
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202401161119.iof6BQsf-lkp@intel.com/
Suggested-by: Markus Elfring <Markus.Elfring@web.de>
Reviewed-by: Juergen Gross <jgross@suse.com>
Link: https://lore.kernel.org/r/20240119094948.275390-1-chentao@kylinos.cn
Signed-off-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-19 08:44:35 +01:00
..
apic.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
debugfs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
debugfs.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
efi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
enlighten.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
enlighten_hvm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
enlighten_pv.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
enlighten_pvh.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
grant-table.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
irq.c 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
mmu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mmu.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mmu_hvm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mmu_pv.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
multicalls.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
multicalls.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
p2m.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci-swiotlb-xen.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
platform-pci-unplug.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pmu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pmu.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
setup.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
smp.c x86/xen: Add some null pointer checking to smp.c 2024-11-19 08:44:35 +01:00
smp.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
smp_hvm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
smp_pv.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spinlock.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
suspend.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
suspend_hvm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
suspend_pv.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
time.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
trace.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vga.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
xen-asm.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
xen-head.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
xen-ops.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00