diff options
author | Madhuparna Bhowmik <madhuparnabhowmik10@gmail.com> | 2020-08-21 05:44:23 +0200 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2020-08-25 13:15:17 +0200 |
commit | 6d6018fc30bee67290dbed2fa51123f7c6f3d691 (patch) | |
tree | 3fde22c2dded4988d680350eb3fe3121b886524c /security/apparmor/apparmorfs.c | |
parent | dmaengine: dw-edma: Fix scatter-gather address calculation (diff) | |
download | linux-6d6018fc30bee67290dbed2fa51123f7c6f3d691.tar.xz linux-6d6018fc30bee67290dbed2fa51123f7c6f3d691.zip |
drivers/dma/dma-jz4780: Fix race condition between probe and irq handler
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>
Diffstat (limited to 'security/apparmor/apparmorfs.c')
0 files changed, 0 insertions, 0 deletions