lkml.org 
[lkml]   [2023]   [Oct]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] spi: sunxi: Fix memory leak on device removal
Date
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

\
 
 \ /
  Last update: 2023-10-02 08:31    [W:0.026 / U:0.220 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site