diff options
author | Madhuparna Bhowmik <madhuparnabhowmik10@gmail.com> | 2020-08-21 06:44:23 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-09-17 14:47:46 +0300 |
commit | cb54984b79892b015ad766d62af0e5cfa3747fe8 (patch) | |
tree | 067efef849399ca39d8c89b376efcea73fdef907 /drivers/net/ethernet/hisilicon/hns3 | |
parent | bcdbb7c8c7f9ac90eeff07e0e99bc986cd7db5e1 (diff) | |
download | linux-cb54984b79892b015ad766d62af0e5cfa3747fe8.tar.xz |
drivers/dma/dma-jz4780: Fix race condition between probe and irq handler
[ Upstream commit 6d6018fc30bee67290dbed2fa51123f7c6f3d691 ]
In probe, IRQ is requested before zchan->id is initialized which can be
read in the irq handler. Hence, shift request irq after other initializations
complete.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Madhuparna Bhowmik <madhuparnabhowmik10@gmail.com>
Reviewed-by: Paul Cercueil <paul@crapouillou.net>
Link: https://lore.kernel.org/r/20200821034423.12713-1-madhuparnabhowmik10@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/hisilicon/hns3')
0 files changed, 0 insertions, 0 deletions