Yu Kuai 0cef8e2c5a 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>
2020-08-19 09:58:37 +05:30
..
2020-08-05 19:02:07 +05:30
2019-07-17 09:55:43 -07:00
2020-08-07 18:48:15 -07:00
2020-08-07 12:41:36 -07:00
2019-07-17 09:55:43 -07:00
2020-01-27 10:55:50 -08:00
2020-08-05 19:02:07 +05:30
2020-08-05 19:02:07 +05:30
2020-08-07 11:13:37 +05:30
2019-07-17 09:55:43 -07:00
2019-07-17 09:55:43 -07:00
2019-07-17 09:55:43 -07:00
2020-01-27 10:55:50 -08:00