diff options
| author | Adrian Hunter <adrian.hunter@intel.com> | 2026-09-20 18:12:35 +0300 |
|---|---|---|
| committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2026-09-21 23:25:36 +0200 |
| commit | 48d7187c98e80fdb8f22e759355d6edf81cb9bf7 (patch) | |
| tree | 32465b6c0842a28c1b8c40f27d10f8085b67d75c /tools/perf/scripts/python/stackcollapse.py | |
| parent | 25648fb7cebb7e1963afc31c07e650d703cfc140 (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 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
