kernel_samsung_a53x/arch/powerpc/platforms
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
..
4xx Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
8xx Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
40x Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
44x powerpc/44x: select I2C for CURRITUCK 2024-11-18 12:12:19 +01:00
52xx Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
82xx Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
83xx Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
85xx Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
86xx Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
512x Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
amigaone Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cell Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
chrp Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
embedded6xx Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
maple Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pasemi Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
powermac Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
powernv powerpc/powernv: Add a null pointer check in opal_powercap_init() 2024-11-18 12:12:20 +01:00
ps3 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pseries powerpc/pseries/memhp: Fix access beyond end of drmem array 2024-11-18 12:12:20 +01:00
fsl_uli1575.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig.cputype Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00