git: bf603dbbb2c9 - main - dev/mfi: include sys/abi_compat.h unconditionally
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 10 Feb 2026 07:09:22 UTC
The branch main has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=bf603dbbb2c9964bba3d5bf2ba2371a75a0cc521
commit bf603dbbb2c9964bba3d5bf2ba2371a75a0cc521
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2026-02-10 04:17:53 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2026-02-10 07:08:57 +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
---
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 8ad343d6d813..6ab6e5a7f19e 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>