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

Felix Gu posted 2 patches 2 months, 1 week ago
drivers/i3c/master/renesas-i3c.c | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
[PATCH v3 0/2] i3c: master: renesas: Fix a memory leak and use __free(kfree) to simplify the code
Posted by Felix Gu 2 months, 1 week ago
Signed-off-by: Felix Gu <ustc.gu@gmail.com>
---
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/20260402-renesas-v2-1-f7e8cf73c7df@gmail.com

Changes in v2:
- Add cleanup header file to fix Frank's comment.
- Link to v1: https://lore.kernel.org/r/20260402-renesas-v1-1-369a7d867502@gmail.com

---
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,
-- 
Felix Gu <ustc.gu@gmail.com>
Re: [PATCH v3 0/2] i3c: master: renesas: Fix a memory leak and use __free(kfree) to simplify the code
Posted by Alexandre Belloni 2 months ago
On Mon, 06 Apr 2026 20:43:15 +0800, Felix Gu wrote:
> 


Applied, thanks!

[1/2] i3c: master: renesas: Fix memory leak in renesas_i3c_i3c_xfers()
      https://git.kernel.org/i3c/c/d7665c3b4f57
[2/2] i3c: master: renesas: Use __free(kfree) for xfer cleanup in renesas_i3c_send_ccc_cmd()
      https://git.kernel.org/i3c/c/57c91ca3dd87

Best regards,

-- 
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
Re: [PATCH v3 0/2] i3c: master: renesas: Fix a memory leak and use __free(kfree) to simplify the code
Posted by Alexandre Belloni 2 months ago
On Mon, 06 Apr 2026 20:43:15 +0800, Felix Gu wrote:
> 


Applied, thanks!

[1/2] i3c: master: renesas: Fix memory leak in renesas_i3c_i3c_xfers()
      https://git.kernel.org/i3c/c/d7665c3b4f57
[2/2] i3c: master: renesas: Use __free(kfree) for xfer cleanup in renesas_i3c_send_ccc_cmd()
      https://git.kernel.org/i3c/c/57c91ca3dd87

Best regards,

-- 
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com