aboutsummaryrefslogtreecommitdiff
path: root/sys/fs/devfs/devfs_vfsops.c
diff options
context:
space:
mode:
authorZishun Yi <zis@FreeBSD.org>2026-09-05 20:12:38 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2026-09-06 00:12:48 +0000
commit33574d47d9dea317b9a4bfe543c4f20be6a565ef (patch)
treeca59a5726920f747db4643d56da1dc72370973ff /sys/fs/devfs/devfs_vfsops.c
parent9dec0cd79c693951fc58d82a99918fc5a02cbcd0 (diff)
LinuxKPI: Correct nents passed to dma_{un,}map_sg_attrs()HEADmain
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 'sys/fs/devfs/devfs_vfsops.c')
0 files changed, 0 insertions, 0 deletions