git: 55766459e87b - stable/14 - dev/mfi: include sys/abi_compat.h unconditionally
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 12 Apr 2026 05:57:20 UTC
The branch stable/14 has been updated by des:
URL: https://cgit.FreeBSD.org/src/commit/?id=55766459e87b5976e9459942f94772808a7de7a4
commit 55766459e87b5976e9459942f94772808a7de7a4
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2026-02-10 04:17:53 +0000
Commit: Dag-Erling Smørgrav <des@FreeBSD.org>
CommitDate: 2026-04-12 05:56:47 +0000
dev/mfi: include sys/abi_compat.h unconditionally
not only for COMPAT_FREEBSD32 case. The driver uses INPTR() for
non-compat32 code.
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
(cherry picked from commit bf603dbbb2c9964bba3d5bf2ba2371a75a0cc521)
---
sys/dev/mfi/mfi.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/sys/dev/mfi/mfi.c b/sys/dev/mfi/mfi.c
index b4249f2082f5..40a1ba64e509 100644
--- a/sys/dev/mfi/mfi.c
+++ b/sys/dev/mfi/mfi.c
@@ -55,9 +55,7 @@
#include "opt_mfi.h"
#include <sys/systm.h>
-#ifdef COMPAT_FREEBSD32
#include <sys/abi_compat.h>
-#endif
#include <sys/sysctl.h>
#include <sys/malloc.h>
#include <sys/kernel.h>