diff options
author | Johan Hovold <johan@kernel.org> | 2017-10-30 11:35:27 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-10-31 11:15:10 +0000 |
commit | 4d5e0689dc9d5640ad46cdfbe1896b74d8df1661 (patch) | |
tree | 56d826c088398ce60c2b610284348e4df0cc5a66 /arch/parisc/include/asm/shmparam.h | |
parent | 2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e (diff) |
spi: spi-axi: fix potential use-after-free after deregistration
Take an extra reference to the controller before deregistering it to
prevent use-after-free in the interrupt handler in case an interrupt
fires before the line is disabled.
Fixes: b1353d1c1d45 ("spi: Add Analog Devices AXI SPI Engine controller support")
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'arch/parisc/include/asm/shmparam.h')
0 files changed, 0 insertions, 0 deletions