commit | 0cef8e2c5a07d482ec907249dbd6687e8697677f | [log] [tgz] |
---|---|---|
author | Yu Kuai <yukuai3@huawei.com> | Mon Aug 17 19:57:26 2020 +0800 |
committer | Vinod Koul <vkoul@kernel.org> | Wed Aug 19 09:58:37 2020 +0530 |
tree | d05dda5202af6e185825ee193695bb006af46033 | |
parent | 5b2aa9f918f6837ae943557f8cec02c34fcf80e7 [diff] |
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>