diff options
| author | Balaji Selvanathan <[email protected]> | 2025-12-22 14:31:05 +0530 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-12-22 16:19:39 -0600 |
| commit | c0add0039825fbd40620284c202f7c4569154605 (patch) | |
| tree | 0a9ff4064af95e19d6066d8219870956cc65dfe8 /doc/develop/python_cq.rst | |
| parent | f26db83ca964e81d7f2b3c2c984afdb8bb104678 (diff) | |
drivers: scsi: fix double decrement of block count in 64-bit LBA path
The scsi_read function incorrectly decrements the block count twice
when handling large disks that trigger the CONFIG_SYS_64BIT_LBA code
path (reads beyond block 268,435,455). The variable 'blks' was being
decremented both inside the 64-bit LBA block and after the successful
scsi_exec() call, causing incorrect block count tracking and data
abort errors on large capacity disks.
Signed-off-by: Balaji Selvanathan <[email protected]>
Tested-by: Tony Dinh <[email protected]>
Diffstat (limited to 'doc/develop/python_cq.rst')
0 files changed, 0 insertions, 0 deletions
