diff options
author | Kunwu Chan <chentao@kylinos.cn> | 2024-01-18 06:19:29 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2024-01-22 14:23:45 +0300 |
commit | 6e2276203ac9ff10fc76917ec9813c660f627369 (patch) | |
tree | fac468de2960cd3d7141442dbac4e11b7a9e3c98 /include/linux/fpga/fpga-mgr.h | |
parent | b73e43dcd7a8be26880ef8ff336053b29e79dbc5 (diff) | |
download | linux-6e2276203ac9ff10fc76917ec9813c660f627369.tar.xz |
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 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions