diff options
author | 2020-08-17 19:57:26 +0800 | |
---|---|---|
committer | 2020-08-19 09:58:37 +0530 | |
commit | 0cef8e2c5a07d482ec907249dbd6687e8697677f (patch) | |
tree | d05dda5202af6e185825ee193695bb006af46033 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | dmaengine: of-dma: Fix of_dma_router_xlate's of_dma_xlate handling (diff) | |
download | wireguard-linux-0cef8e2c5a07d482ec907249dbd6687e8697677f.tar.xz wireguard-linux-0cef8e2c5a07d482ec907249dbd6687e8697677f.zip |
dmaengine: at_hdmac: check return value of of_find_device_by_node() in at_dma_xlate()
The reurn value of of_find_device_by_node() is not checked, thus null
pointer dereference will be triggered if of_find_device_by_node()
failed.
Fixes: bbe89c8e3d59 ("at_hdmac: move to generic DMA binding")
Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Link: https://lore.kernel.org/r/20200817115728.1706719-2-yukuai3@huawei.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions