diff options
| author | Stanley Chu <[email protected]> | 2025-03-18 05:36:05 +0000 |
|---|---|---|
| committer | Alexandre Belloni <[email protected]> | 2025-03-18 16:14:35 +0000 |
| commit | c06acf7143bddaa3c0f7bedd8b99e48f6acb85c3 (patch) | |
| tree | 78c9f2f8859eb39170aa0e3bd19ac264889769ec /lib/crypto/mpi | |
| parent | i3c: master: svc: Fix missing the IBI rules (diff) | |
| download | kernel-c06acf7143bddaa3c0f7bedd8b99e48f6acb85c3.tar.gz kernel-c06acf7143bddaa3c0f7bedd8b99e48f6acb85c3.zip | |
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: [email protected]
Fixes: dd3c52846d59 ("i3c: master: svc: Add Silvaco I3C master driver")
Signed-off-by: Stanley Chu <[email protected]>
Reviewed-by: Frank Li <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexandre Belloni <[email protected]>
Diffstat (limited to 'lib/crypto/mpi')
0 files changed, 0 insertions, 0 deletions
