[PATCH v3 0/2] i3c: dw: Fix memory leak in dw_i3c_master_i3c_xfers()

Felix Gu posted 2 patches 2 months, 1 week ago
drivers/i3c/master/dw-i3c-master.c | 38 +++++++++-----------------------------
1 file changed, 9 insertions(+), 29 deletions(-)
[PATCH v3 0/2] i3c: dw: Fix memory leak in dw_i3c_master_i3c_xfers()
Posted by Felix Gu 2 months, 1 week ago
Signed-off-by: Felix Gu <ustc.gu@gmail.com>
---
Changes in v3:
- Refine the commit message.
- Simplify the xfer cleanup using __free(kfree).
- Link to v2: https://lore.kernel.org/r/20260402-dw-i3c-2-v2-1-aa6c81d392da@gmail.com

Changes in v2:
- Switch to use __free(kfree) to automatically free the memory.
- Link to v1: https://lore.kernel.org/r/20260402-dw-i3c-2-v1-1-b530970654ec@gmail.com

---
Felix Gu (2):
      i3c: dw: Fix memory leak in dw_i3c_master_i3c_xfers()
      i3c: dw: Simplify xfer cleanup with __free(kfree)

 drivers/i3c/master/dw-i3c-master.c | 38 +++++++++-----------------------------
 1 file changed, 9 insertions(+), 29 deletions(-)
---
base-commit: bd0f139e5fc11182777b81cefc3893ea508544ec
change-id: 20260402-dw-i3c-2-8f123def99b2

Best regards,
-- 
Felix Gu <ustc.gu@gmail.com>
Re: [PATCH v3 0/2] i3c: dw: Fix memory leak in dw_i3c_master_i3c_xfers()
Posted by Alexandre Belloni 2 months ago
On Sat, 04 Apr 2026 18:32:29 +0800, Felix Gu wrote:
> 


Applied, thanks!

[1/2] i3c: dw: Fix memory leak in dw_i3c_master_i3c_xfers()
      https://git.kernel.org/i3c/c/256cc1f1305a
[2/2] i3c: dw: Simplify xfer cleanup with __free(kfree)
      https://git.kernel.org/i3c/c/6105f4919615

Best regards,

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