kernel_samsung_a53x/arch/powerpc/platforms/powernv
Kunwu Chan 6c19177ce9 powerpc/powernv: Add a null pointer check in opal_powercap_init()
[ Upstream commit e123015c0ba859cf48aa7f89c5016cc6e98e018d ]

kasprintf() returns a pointer to dynamically allocated memory
which can be NULL upon failure.

Fixes: b9ef7b4b867f ("powerpc: Convert to using %pOFn instead of device_node.name")
Signed-off-by: Kunwu Chan <chentao@kylinos.cn>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20231126095739.1501990-1-chentao@kylinos.cn
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-18 12:12:20 +01:00
..
copy-paste.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
eeh-powernv.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
idle.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
memtrace.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
npu-dma.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ocxl.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
opal-async.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
opal-call.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
opal-core.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
opal-dump.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
opal-elog.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
opal-fadump.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
opal-fadump.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
opal-flash.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
opal-hmi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
opal-imc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
opal-irqchip.c powerpc/powernv: Add a null pointer check in opal_event_init() 2024-11-18 12:12:20 +01:00
opal-kmsg.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
opal-lpc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
opal-memory-errors.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
opal-msglog.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
opal-nvram.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
opal-power.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
opal-powercap.c powerpc/powernv: Add a null pointer check in opal_powercap_init() 2024-11-18 12:12:20 +01:00
opal-prd.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
opal-psr.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
opal-rtc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
opal-secvar.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
opal-sensor-groups.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
opal-sensor.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
opal-sysparam.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
opal-tracepoints.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
opal-wrappers.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
opal-xscom.c powerpc/powernv: Add a null pointer check to scom_debug_init_one() 2024-11-18 12:12:20 +01:00
opal.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci-cxl.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci-ioda-tce.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci-ioda.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci-sriov.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
powernv.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rng.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
setup.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
smp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
subcore-asm.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
subcore.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
subcore.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ultravisor.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vas-api.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vas-debug.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vas-fault.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vas-trace.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vas-window.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vas.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vas.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00