diff options
author | Martin Kaiser <martin@kaiser.cx> | 2021-01-15 22:24:35 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-03-17 17:06:24 +0100 |
commit | d26949c732e47f6821b694e259f43e19bf266e0e (patch) | |
tree | e506b8a0265926e5c79f671f9f127c16dfee270b /drivers/pci/controller/pcie-mediatek.c | |
parent | 8282ec632443f54d7ad14f4ae6e2e0acfdeed86a (diff) | |
download | linux-rt-d26949c732e47f6821b694e259f43e19bf266e0e.tar.gz |
PCI: xgene-msi: Fix race in installing chained irq handler
[ Upstream commit a93c00e5f975f23592895b7e83f35de2d36b7633 ]
Fix a race where a pending interrupt could be received and the handler
called before the handler's data has been setup, by converting to
irq_set_chained_handler_and_data().
See also 2cf5a03cb29d ("PCI/keystone: Fix race in installing chained IRQ
handler").
Based on the mail discussion, it seems ok to drop the error handling.
Link: https://lore.kernel.org/r/20210115212435.19940-3-martin@kaiser.cx
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/pci/controller/pcie-mediatek.c')
0 files changed, 0 insertions, 0 deletions