[PATCH 0/5] spi: imx: fix use-after-free on unbind

Johan Hovold posted 5 patches 1 week, 4 days ago
There is a newer version of this series
drivers/spi/spi-imx.c           | 41 +++++++++++----------------------
drivers/spi/spi-rockchip.c      | 40 +++++++++++++-------------------
drivers/spi/spi-tegra20-slink.c | 26 ++++++++-------------
3 files changed, 40 insertions(+), 67 deletions(-)
[PATCH 0/5] spi: imx: fix use-after-free on unbind
Posted by Johan Hovold 1 week, 4 days ago
The SPI subsystem frees the controller and any subsystem allocated
driver data as part of deregistration (unless the allocation is device
managed).

This series fixes the IMX driver that got this wrong and then converts
it to use device managed allocation.

Included are also related cleanups for tegre20-slink and the rockchip
driver.

Johan


Johan Hovold (5):
  spi: imx: fix use-after-free on unbind
  spi: imx: switch to managed controller allocation
  spi: tegra20-slink: switch to managed controller allocation
  spi: rockchip: fix controller deregistration
  spi: rockchip: switch to managed controller allocation

 drivers/spi/spi-imx.c           | 41 +++++++++++----------------------
 drivers/spi/spi-rockchip.c      | 40 +++++++++++++-------------------
 drivers/spi/spi-tegra20-slink.c | 26 ++++++++-------------
 3 files changed, 40 insertions(+), 67 deletions(-)

-- 
2.52.0