diff options
author | Stanley Chu <stanley.chuys@gmail.com> | 2025-08-29 09:23:09 +0800 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2025-09-16 17:06:43 +0200 |
commit | 3448a934ba6f803911ac084d05a2ffce507ea6c6 (patch) | |
tree | 1e875e33a80d8c3d205a9c707fee2afd036b2036 /drivers/cdx/controller/cdx_controller.c | |
parent | a7869b0a2540fd122eccec00ae7d4243166b0a60 (diff) |
i3c: master: svc: Recycle unused IBI slot
In svc_i3c_master_handle_ibi(), an IBI slot is fetched from the pool
to store the IBI payload. However, when an error condition is encountered,
the function returns without recycling the IBI slot, resulting in an IBI
slot leak.
Fixes: c85e209b799f ("i3c: master: svc: fix ibi may not return mandatory data byte")
Signed-off-by: Stanley Chu <yschu@nuvoton.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://lore.kernel.org/r/20250829012309.3562585-3-yschu@nuvoton.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/cdx/controller/cdx_controller.c')
0 files changed, 0 insertions, 0 deletions