Skip to content

i3c: master: renesas: Fix a memory leak and use __free(kfree) to simplify the code

Felix Gu linux-i3c lkml 3 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected] change-id 20260402-renesas-c6afdaf9bc2e

Versions newest first

  1. v3 Latest2 patches 4 repliesApplied
  2. v21 patch 2 repliesSuperseded
  3. v11 patch 1 replySuperseded

Changes in v3 from the cover letter

- Collect the tags from Frank and Tommaso.
- Use __free(kfree) to simplify the code.
- Link to v2: https://lore.kernel.org/r/[email protected]

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/2i3c: master: renesas: Fix memory leak in renesas_i3c_i3c_xfers()drivers/i3c/master/renesas-i3c.c+2 -20 replies
2/2i3c: master: renesas: Use __free(kfree) for xfer cleanup in renesas_i3c_send_ccc_cmd()drivers/i3c/master/renesas-i3c.c+1 -42 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchTommaso MerciaiFrank Li
1/2T-b R-b R-b
2/2T-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/2] i3c: master: renesas: Fix a memory leak and use __free(kfree) to simplify the code

---
Changes in v3:
- Collect the tags from Frank and Tommaso.
- Use __free(kfree) to simplify the code.
- Link to v2: https://lore.kernel.org/r/[email protected]

Changes in v2:
- Add cleanup header file to fix Frank's comment.
- Link to v1: https://lore.kernel.org/r/[email protected]

---
Felix Gu (2):
i3c: master: renesas: Fix memory leak in renesas_i3c_i3c_xfers()
i3c: master: renesas: Use __free(kfree) for xfer cleanup in renesas_i3c_send_ccc_cmd()

 drivers/i3c/master/renesas-i3c.c | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

---
base-commit: bd0f139e5fc11182777b81cefc3893ea508544ec
change-id: 20260402-renesas-c6afdaf9bc2e

Best regards,

Signature · 1 line
Felix Gu <[email protected]>