Skip to content

memory: mtk-smi: fix device leaks on probe

Johan Hovold linux-mediatek lkml stable 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3memory: mtk-smi: fix device leaks on common probedrivers/memory/mtk-smi.c+2 -01 reply
2/3memory: mtk-smi: fix device leak on larb probedrivers/memory/mtk-smi.c+1 -00 replies
3/3memory: mtk-smi: clean up device link creationdrivers/memory/mtk-smi.c+19 -160 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(-)
Signature · 1 line
2.51.2