mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-14 18:22:56 +00:00
[libata ahci, qstor] fix miscount of scatter/gather entries
Don't directly reference qc->n_elem, as that might cause an off-by-one error for misaligned (padded) ATAPI transfers.
This commit is contained in:
parent
cd52d1ee9a
commit
828d09de4a
2 changed files with 17 additions and 6 deletions
Loading…
Add table
Add a link
Reference in a new issue