opnsense-src/sys/compat/linuxkpi/common
Olivier Certner f946a5ec96 linuxkpi: dma_get_cache_alignment(): Fix off-by-one result
Substituting 'uma_align_cache' by the appropriately named accessor
uma_get_cache_align_mask() made apparent that dma_get_cache_alignment()
was off by one, since it was defined to be the mask derived from the
alignment value.

Reviewed by:            markj, bz
MFC after:              2 weeks
Sponsored by:           The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D42264

(cherry picked from commit 2c7dd66d09a1b92a4698232996cded6e5315b3bd)
2023-11-16 10:07:18 -05:00
..
include linuxkpi: dma_get_cache_alignment(): Fix off-by-one result 2023-11-16 10:07:18 -05:00
src linuxkpi linux_work: use 'true' instead of 'non-zero' 2023-11-14 00:29:30 +02:00