Date: Sat, 26 Feb 2022 18:02:51 GMT From: Scott Long <scottl@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 55339af296ca - main - Expand __diagused to include the KTR kernel diagnostic option. Message-ID: <202202261802.21QI2p5r013510@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by scottl: URL: https://cgit.FreeBSD.org/src/commit/?id=55339af296ca2a360a82e46d6699fd1b57ecf815 commit 55339af296ca2a360a82e46d6699fd1b57ecf815 Author: Scott Long <scottl@FreeBSD.org> AuthorDate: 2022-02-26 18:01:54 +0000 Commit: Scott Long <scottl@FreeBSD.org> CommitDate: 2022-02-26 18:01:54 +0000 Expand __diagused to include the KTR kernel diagnostic option. --- sys/sys/systm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/sys/systm.h b/sys/sys/systm.h index f2ffa7e6b815..f597ae2a1f03 100644 --- a/sys/sys/systm.h +++ b/sys/sys/systm.h @@ -554,7 +554,7 @@ void _gone_in_dev(device_t dev, int major, const char *msg); #define gone_in(major, msg) __gone_ok(major, msg) _gone_in(major, msg) #define gone_in_dev(dev, major, msg) __gone_ok(major, msg) _gone_in_dev(dev, major, msg) -#if defined(INVARIANTS) || defined(WITNESS) +#if defined(INVARIANTS) || defined(WITNESS) || defined(KTR) #define __diagused #else #define __diagused __unused
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202202261802.21QI2p5r013510>