summaryrefslogtreecommitdiff
path: root/net/rxrpc
diff options
context:
space:
mode:
authorYu Kuai <yukuai3@huawei.com>2020-08-17 19:57:26 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-09-09 19:12:23 +0200
commit242a7ab0ac5296b11211f3851632502e269f2d69 (patch)
tree1d78c2a309a1fc6a782c98b27e171fe2008c7bb5 /net/rxrpc
parent2f2786bb9d40ad6ff2c83eee2952ccf6fa1a54fa (diff)
dmaengine: at_hdmac: check return value of of_find_device_by_node() in at_dma_xlate()
[ Upstream commit 0cef8e2c5a07d482ec907249dbd6687e8697677f ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/rxrpc')
0 files changed, 0 insertions, 0 deletions