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

Felix Gu ustc.gu at gmail.com
Sat Apr 4 03:32:29 PDT 2026


Signed-off-by: Felix Gu <ustc.gu at 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 at gmail.com>




More information about the linux-i3c mailing list