diff options
author | Kunwu Chan <[email protected]> | 2024-01-18 11:19:29 +0800 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2024-01-22 16:53:45 +0530 |
commit | 6e2276203ac9ff10fc76917ec9813c660f627369 (patch) | |
tree | fac468de2960cd3d7141442dbac4e11b7a9e3c98 /tools/perf/util/scripting-engines/trace-event-python.c | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions