[PATCH 0/3] memory: mtk-smi: fix device leaks on probe

Johan Hovold posted 3 patches 2 months, 2 weeks ago
drivers/memory/mtk-smi.c | 38 ++++++++++++++++++++++----------------
1 file changed, 22 insertions(+), 16 deletions(-)
[PATCH 0/3] memory: mtk-smi: fix device leaks on probe
Posted by Johan Hovold 2 months, 2 weeks ago
Make sure to drop the reference taken when looking up the SMI device
during probe on late probe failure (e.g. probe deferral) and on driver
unbind.

Included is also a related cleanup.

Johan


Johan Hovold (3):
  memory: mtk-smi: fix device leaks on common probe
  memory: mtk-smi: fix device leak on larb probe
  memory: mtk-smi: clean up device link creation

 drivers/memory/mtk-smi.c | 38 ++++++++++++++++++++++----------------
 1 file changed, 22 insertions(+), 16 deletions(-)

-- 
2.51.2
Re: [PATCH 0/3] memory: mtk-smi: fix device leaks on probe
Posted by Krzysztof Kozlowski 1 month, 3 weeks ago
On Fri, 21 Nov 2025 17:46:21 +0100, Johan Hovold wrote:
> Make sure to drop the reference taken when looking up the SMI device
> during probe on late probe failure (e.g. probe deferral) and on driver
> unbind.
> 
> Included is also a related cleanup.
> 
> Johan
> 
> [...]

I fixed up stable-cc syntax - missing final Cc, because only prerequisite was
mentioned.

Applied, thanks!

[1/3] memory: mtk-smi: fix device leaks on common probe
      https://git.kernel.org/krzk/linux-mem-ctrl/c/6cfa038bddd710f544076ea2ef7792fc82fbedd6
[2/3] memory: mtk-smi: fix device leak on larb probe
      https://git.kernel.org/krzk/linux-mem-ctrl/c/9dae65913b32d05dbc8ff4b8a6bf04a0e49a8eb6
[3/3] memory: mtk-smi: clean up device link creation
      https://git.kernel.org/krzk/linux-mem-ctrl/c/78da7027e2a99edea0d7e97b25d75be4698a8728

Best regards,
-- 
Krzysztof Kozlowski <krzk@kernel.org>