diff options
author | 2024-01-18 11:19:29 +0800 | |
---|---|---|
committer | 2024-01-22 16:53:45 +0530 | |
commit | 6e2276203ac9ff10fc76917ec9813c660f627369 (patch) | |
tree | fac468de2960cd3d7141442dbac4e11b7a9e3c98 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | dmaengine: fsl-dpaa2-qdma: Fix the size of dma pools (diff) | |
download | wireguard-linux-6e2276203ac9ff10fc76917ec9813c660f627369.tar.xz wireguard-linux-6e2276203ac9ff10fc76917ec9813c660f627369.zip |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions