git: nvmm(4): Mark vmx_vmptrst() with '__diagused' instead of '__unused'
Aaron LI
aly at crater.dragonflybsd.org
Mon Jan 26 01:04:42 PST 2026
commit a2a71054d8dcff8f9553b1ec11113817af3f030b
Author: Aaron LI <aly at aaronly.me>
Date: Sun Jan 25 13:14:49 2026 +0800
nvmm(4): Mark vmx_vmptrst() with '__diagused' instead of '__unused'
The vmx_vmptrst() function is only used with OS_ASSERT(), so change to
use '__diagused' makes more sense.
Referred-to: NetBSD (https://github.com/NetBSD/src/commit/90116d8fc2f0c32a7863c868afa8d77e9a865cc7)
Summary of changes:
sys/dev/virtual/nvmm/x86/nvmm_x86_vmx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a2a71054d8dcff8f9553b1ec11113817af3f030b
--
DragonFly BSD source repository
More information about the Commits
mailing list