[PATCH 0/2] spi: sunxi: Fix memory leak on device removal

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Call spi_master_put to free the spi_master structure on device removal
and driver detachment.

Woody Zhang (2):
  spi: sun6i: Fix memory leak on device removal
  spi: sun4i: Fix memory leak on device removal

 drivers/spi/spi-sun4i.c | 3 +++
 drivers/spi/spi-sun6i.c | 1 +
 2 files changed, 4 insertions(+)

-- 
2.39.2




[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux