[PATCH v5 3/5] i3c: use actual_len for read transfers
Sam Agazaryan
samagazaryan at google.com
Mon Oct 12 14:49:29 PDT 2026
> Also i3c_dev_do_xfers_locked() should probably clamp actual_len to len.
Done - fixed the missing rx_bytes line and clamped
actual_len to len in i3c_dev_do_xfers_locked() in v6.
>> There are not dependence, suppose mctp-i3c.c change go through other tree
>> It'd better use sperate patch to fix it.
>>
>> Need fix tag.
>
> Isn't mctp-i3c.c dependent on the len -> actual_len change in
> any of the master drivers?
Yeah that was my reasoning for adding it here since we're converting
all drivers to stop overwriting xfer.len.
Also, will add a Fixes tag for v6.
Thanks,
Sam
More information about the linux-i3c
mailing list