spi: sh-sci: fix use-after-free in sh_sci_spi_remove()
authorJürg Billeter <j@bitron.ch>
Mon, 16 Jun 2014 14:39:29 +0000 (16:39 +0200)
committerMark Brown <broonie@linaro.org>
Tue, 17 Jun 2014 14:47:31 +0000 (15:47 +0100)
commit25f8a7cc5856f1c697c9aee88b0a898fcb6d788c
tree1883b367e997b23322a55c770df761f470d2a1e0
parent7171511eaec5bf23fb06078f59784a3a0626b38f
spi: sh-sci: fix use-after-free in sh_sci_spi_remove()

setbits() uses sp->membase.

Signed-off-by: Jürg Billeter <j@bitron.ch>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-sh-sci.c