diff options
author | 2024-01-18 13:42:57 +0800 | |
---|---|---|
committer | 2024-02-14 10:26:11 +0100 | |
commit | 5d7f58ee08434a33340f75ac7ac5071eea9673b3 (patch) | |
tree | 63e4fa5aac5a671e1cbfc99336a46ac5451815f5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | pmdomain: renesas: rcar-gen4-sysc: Remove unneeded includes (diff) | |
download | wireguard-linux-5d7f58ee08434a33340f75ac7ac5071eea9673b3.tar.xz wireguard-linux-5d7f58ee08434a33340f75ac7ac5071eea9673b3.zip |
pmdomain: ti: Add a null pointer check to the omap_prm_domain_init
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions