diff options
author | Kunwu Chan <chentao@kylinos.cn> | 2024-01-18 11:19:29 +0800 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2024-01-22 16:53:45 +0530 |
commit | 6e2276203ac9ff10fc76917ec9813c660f627369 (patch) | |
tree | fac468de2960cd3d7141442dbac4e11b7a9e3c98 /tools/perf/scripts/python/task-analyzer.py | |
parent | b73e43dcd7a8be26880ef8ff336053b29e79dbc5 (diff) |
dmaengine: ti: edma: Add some null pointer checks to the edma_probe
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/20240118031929.192192-1-chentao@kylinos.cn
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions