linux-rockchip/drivers/soc/ti
Kunwu Chan bc08f5ab11 pmdomain: ti: Add a null pointer check to the omap_prm_domain_init
commit 5d7f58ee08434a33340f75ac7ac5071eea9673b3 upstream.

devm_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>
Link: https://lore.kernel.org/r/20240118054257.200814-1-chentao@kylinos.cn
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
[Xiangyu: Modified to apply on 6.1.y]
Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-09-18 19:23:04 +02:00
..
k3-ringacc.c
k3-socinfo.c
Kconfig
knav_dma.c
knav_qmss.h
knav_qmss_acc.c
knav_qmss_queue.c
Makefile
omap_prm.c pmdomain: ti: Add a null pointer check to the omap_prm_domain_init 2024-09-18 19:23:04 +02:00
pm33xx.c
pruss.c
smartreflex.c
ti_sci_inta_msi.c
ti_sci_pm_domains.c
wkup_m3_ipc.c