diff options
| author | Zishun Yi <zis@FreeBSD.org> | 2026-09-05 20:12:38 +0000 |
|---|---|---|
| committer | Bjoern A. Zeeb <bz@FreeBSD.org> | 2026-09-06 00:12:48 +0000 |
| commit | 33574d47d9dea317b9a4bfe543c4f20be6a565ef (patch) | |
| tree | ca59a5726920f747db4643d56da1dc72370973ff /llvm/lib/Transforms/Scalar/LoopDataPrefetch.cpp | |
| parent | 9dec0cd79c693951fc58d82a99918fc5a02cbcd0 (diff) | |
According to Linux documentation the nents argument to dma_unmap_sg()
must be the number one passed in, not the number of DMA addresses.
In LinuxKPI this means orig_nents and not nents, so adjust this.
Given nents and orig_nents should always be the same in LinuxKPI,
this should only be a NOP for correctness.
Reviewed by: bz, aokblast (LGTM)
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D57842
Diffstat (limited to 'llvm/lib/Transforms/Scalar/LoopDataPrefetch.cpp')
0 files changed, 0 insertions, 0 deletions
