linux/drivers/soc/ti
Kunwu Chan 984212fa6b pmdomain: ti: Add a null pointer check to the omap_prm_domain_init
commit 5d7f58ee08 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>
[Minor context change fixed]
Signed-off-by: Feng Liu <Feng.Liu3@windriver.com>
Signed-off-by: He Zhe <Zhe.He@windriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2025-05-02 07:44:24 +02:00
..
k3-ringacc.c soc: ti: k3-ringacc: Use of_device_get_match_data() 2021-01-31 20:58:49 -08:00
k3-socinfo.c soc: ti: k3-socinfo: Add entry for AM64X SoC family 2020-11-01 19:38:05 -08:00
Kconfig soc: ti: Kconfig: Drop ARM64 SoC specific configs 2020-11-21 19:22:01 -08:00
knav_dma.c soc: ti: knav_qmss: Put refcount for dev node in failure case 2021-01-24 20:51:36 -08:00
knav_qmss.h soc: ti: Replace zero-length array with flexible-array 2020-06-15 23:08:32 -05:00
knav_qmss_acc.c soc: TI knav_qmss: make symbol 'knav_acc_range_ops' static 2020-07-24 14:47:10 -07:00
knav_qmss_queue.c soc: ti: knav_qmss_queue: Fix PM disable depth imbalance in knav_queue_probe 2022-12-31 13:13:58 +01:00
Makefile ARM: SoC-related driver updates 2020-10-24 10:39:22 -07:00
omap_prm.c pmdomain: ti: Add a null pointer check to the omap_prm_domain_init 2025-05-02 07:44:24 +02:00
pm33xx.c soc: ti: pm33xx: Fix refcount leak in am33xx_pm_probe 2023-05-11 23:00:20 +09:00
pruss.c soc: ti: pruss: fix referenced node in error message 2022-01-27 11:04:29 +01:00
smartreflex.c soc: ti: smartreflex: Use IRQF_NO_AUTOEN flag in request_irq() 2024-12-14 19:50:47 +01:00
ti_sci_inta_msi.c soc: ti: ti_sci_inta_msi: Add support for second range in resource ranges 2020-11-01 19:38:00 -08:00
ti_sci_pm_domains.c pmdomain: ti-sci: Add missing of_node_put() for args.np 2024-12-14 19:50:48 +01:00
wkup_m3_ipc.c soc: ti: wkup_m3_ipc: Send NULL dummy message instead of pointer message 2024-07-05 09:14:44 +02:00