Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jul 2026 10:00:32 +0000
From:      Olivier Certner <olce@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 1129fecbb722 - stable/14 - sys/sysctl.h: Add missing <sys/kassert.h> include
Message-ID:  <6a61e640.3aec0.6a005b0@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch stable/14 has been updated by olce:

URL: https://cgit.FreeBSD.org/src/commit/?id=1129fecbb722e421c7c379beb8abdadb2c08c12e

commit 1129fecbb722e421c7c379beb8abdadb2c08c12e
Author:     Olivier Certner <olce@FreeBSD.org>
AuthorDate: 2026-02-06 20:46:48 +0000
Commit:     Olivier Certner <olce@FreeBSD.org>
CommitDate: 2026-07-23 09:59:02 +0000

    sys/sysctl.h: Add missing <sys/kassert.h> include
    
    Hopefully, 'sys/sysctl.h' is really self-contained now.
    
    This fixes the GENERIC-NODEBUG compilation error in 'hwpstate_common.c'
    after commit 804329587508 (see below).
    
    Fixes:          1a446f765d9c ("sys/sysctl.h: Make it self-contained when included from the kernel")
    Fixes:          804329587508 ("hwpstate{_amd,intel}(4): Move common knobs to a separate file")
    Sponsored by:   The FreeBSD Foundation
    
    (cherry picked from commit bfd50a32ff26067552220c6f08e6025be3603962)
---
 sys/sys/sysctl.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/sys/sysctl.h b/sys/sys/sysctl.h
index eb1a3e385c92..345e580300e5 100644
--- a/sys/sys/sysctl.h
+++ b/sys/sys/sysctl.h
@@ -40,6 +40,7 @@
 #ifdef _KERNEL
 #include <sys/types.h>
 #include <sys/_null.h>
+#include <sys/kassert.h>
 #include <sys/queue.h>
 #include <sys/tree.h>
 #endif


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a61e640.3aec0.6a005b0>