Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Aug 2022 09:10:13 GMT
From:      Emmanuel Vadot <manu@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: bf27839aa90a - main - linuxkpi: Add add_taint stub
Message-ID:  <202208180910.27I9ADaX019401@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by manu:

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

commit bf27839aa90a4a90ef4b3e59f2a362d36f1e7051
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2022-08-09 13:55:19 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2022-08-18 07:47:00 +0000

    linuxkpi: Add add_taint stub
    
    Needed by drm-kmod.
    
    Sponsored by:   Beckhoff Automation GmbH & Co. KG
    Differential Revision:  https://reviews.freebsd.org/D36112
---
 sys/compat/linuxkpi/common/include/linux/kernel.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys/compat/linuxkpi/common/include/linux/kernel.h b/sys/compat/linuxkpi/common/include/linux/kernel.h
index 2450c18a5690..2c40b2f33c41 100644
--- a/sys/compat/linuxkpi/common/include/linux/kernel.h
+++ b/sys/compat/linuxkpi/common/include/linux/kernel.h
@@ -682,6 +682,8 @@ linux_ratelimited(linux_ratelimit_t *rl)
 
 #define	TAINT_WARN	0
 #define	test_taint(x)	(0)
+#define	add_taint(x,y)	do {	\
+	} while (0)
 
 static inline int
 _h2b(const char c)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202208180910.27I9ADaX019401>