summaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorKunwu Chan <chentao@kylinos.cn>2024-01-18 06:19:29 +0300
committerVinod Koul <vkoul@kernel.org>2024-01-22 14:23:45 +0300
commit6e2276203ac9ff10fc76917ec9813c660f627369 (patch)
treefac468de2960cd3d7141442dbac4e11b7a9e3c98 /include/linux/fpga/fpga-mgr.h
parentb73e43dcd7a8be26880ef8ff336053b29e79dbc5 (diff)
downloadlinux-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