android_kernel_xiaomi_sm8350/arch/powerpc/platforms
Kunwu Chan 9da4a56dd3 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: b9ef7b4b86 ("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-01-25 14:34:22 -08:00
..
4xx powerpc/4xx/cpm: Fix return value of __setup() handler 2022-06-14 18:11:41 +02:00
8xx powerpc/8xx: export 'cpm_setbrg' for modules 2022-06-14 18:11:41 +02:00
40x
44x powerpc/44x: select I2C for CURRITUCK 2024-01-25 14:34:22 -08:00
52xx treewide: Remove uninitialized_var() usage 2023-06-09 10:29:01 +02:00
82xx
83xx powerpc/83xx/mpc832x_rdb: call platform_device_put() in error case in of_fsl_spi_probe() 2023-01-18 11:41:30 +01:00
85xx powerpc/85xx: Fix oops when mpc85xx_smp_guts_ids node cannot be found 2021-11-17 09:48:25 +01:00
86xx
512x powerpc/mpc512x: fix resource printk format warning 2023-05-17 11:35:50 +02:00
amigaone
cell powerpc/cell/axon_msi: Fix refcount leak in setup_msi_msg_address 2022-08-25 11:18:07 +02:00
chrp
embedded6xx powerpc/wii: fix resource printk format warnings 2023-05-17 11:35:50 +02:00
maple
pasemi
powermac powerpc/pmac/smp: Drop unnecessary volatile qualifier 2023-09-02 09:19:18 +02:00
powernv powerpc/powernv: Add a null pointer check in opal_powercap_init() 2024-01-25 14:34:22 -08:00
ps3 powerpc/ps3: Add dma_mask to ps3_dma_region 2021-07-20 16:10:44 +02:00
pseries powerpc/pseries/memhp: Fix access beyond end of drmem array 2024-01-25 14:34:22 -08:00
fsl_uli1575.c
Kconfig powerpc/tau: Disable TAU between measurements 2020-10-29 09:57:49 +01:00
Kconfig.cputype powerpc/32: Don't always pass -mcpu=powerpc to the compiler 2022-08-25 11:18:37 +02:00
Makefile