diff options
| author | 2026-09-20 18:12:35 +0300 | |
|---|---|---|
| committer | 2026-09-21 23:25:36 +0200 | |
| commit | 48d7187c98e80fdb8f22e759355d6edf81cb9bf7 (patch) | |
| tree | 32465b6c0842a28c1b8c40f27d10f8085b67d75c /scripts/Makefile.thinlto | |
| parent | i3c: master: Match ACPI targets to the correct bus controller instance (diff) | |
i3c: master: Remove stale GETSTATUS length check
i3c_master_getstatus_locked() verifies dest.payload.len against
sizeof(*getstatus) after issuing a GETSTATUS CCC.
This check predates the introduction of dest.payload.actual_len. Since
then, dest.payload.len has held the requested transfer length and
dest.payload.actual_len has held the received length, so the check is
always false and can never detect a short response.
It also predates the addition of generic read CCC response length
validation in i3c_master_send_ccc_cmd_locked(), which now performs the
necessary check before returning success.
Remove the stale check.
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://patch.msgid.link/20260920151248.46936-6-adrian.hunter@intel.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
