diff options
author | Stanley Chu <yschu@nuvoton.com> | 2025-03-18 08:36:05 +0300 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2025-03-18 19:14:35 +0300 |
commit | c06acf7143bddaa3c0f7bedd8b99e48f6acb85c3 (patch) | |
tree | 78c9f2f8859eb39170aa0e3bd19ac264889769ec /tools/perf/scripts/python/gecko.py | |
parent | 9cecad134d84d14dc72a0eea7a107691c3e5a837 (diff) | |
download | linux-c06acf7143bddaa3c0f7bedd8b99e48f6acb85c3.tar.xz |
i3c: master: svc: Use readsb helper for reading MDB
The target can send the MDB byte followed by additional data bytes.
The readl on MRDATAB reads one actual byte, but the readsl advances
the destination pointer by 4 bytes. This causes the subsequent payload
to be copied to wrong position in the destination buffer.
Cc: stable@kernel.org
Fixes: dd3c52846d59 ("i3c: master: svc: Add Silvaco I3C master driver")
Signed-off-by: Stanley Chu <yschu@nuvoton.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://lore.kernel.org/r/20250318053606.3087121-3-yschu@nuvoton.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions