Commit 3448a934 authored by Stanley Chu's avatar Stanley Chu Committed by Alexandre Belloni
Browse files

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: c85e209b ("i3c: master: svc: fix ibi may not return mandatory data byte")
Signed-off-by: default avatarStanley Chu <yschu@nuvoton.com>
Reviewed-by: default avatarFrank Li <Frank.Li@nxp.com>
Link: https://lore.kernel.org/r/20250829012309.3562585-3-yschu@nuvoton.com


Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
parent a7869b0a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment