git: 7c473933624f - main - LinuxKPI: kunit: add static_stub.h and more dummy headers

From: Bjoern A. Zeeb <bz_at_FreeBSD.org>
Date: Fri, 05 Sep 2025 23:29:09 UTC
The branch main has been updated by bz:

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

commit 7c473933624f701263a83da526cac680b1ca69ed
Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2025-09-04 20:27:16 +0000
Commit:     Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2025-09-05 23:24:16 +0000

    LinuxKPI: kunit: add static_stub.h and more dummy headers
    
    These came up during a wifi driver update.
    
    Sponsored by:   The FreeBSD Foundation (initially)
    MFC after:      3 days
    Reviewed by:    dumbbell
    Differential Revision:  https://reviews.freebsd.org/D52079
---
 sys/compat/linuxkpi/common/include/kunit/static_stub.h | 15 +++++++++++++++
 sys/compat/linuxkpi/dummy/include/kunit/skbuff.h       |  0
 sys/compat/linuxkpi/dummy/include/kunit/test-bug.h     |  0
 sys/compat/linuxkpi/dummy/include/kunit/test.h         |  0
 4 files changed, 15 insertions(+)

diff --git a/sys/compat/linuxkpi/common/include/kunit/static_stub.h b/sys/compat/linuxkpi/common/include/kunit/static_stub.h
new file mode 100644
index 000000000000..9d425d46dbb0
--- /dev/null
+++ b/sys/compat/linuxkpi/common/include/kunit/static_stub.h
@@ -0,0 +1,15 @@
+/*
+ * Copyright (c) 2025 The FreeBSD Foundation
+ *
+ * This software was developed by Björn Zeeb under sponsorship from
+ * the FreeBSD Foundation.
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
+
+#ifndef	_LINUXKPI_KUNIT_STATIC_STUB_H
+#define	_LINUXKPI_KUNIT_STATIC_STUB_H
+
+#define	KUNIT_STATIC_STUB_REDIRECT(_fn, ...)	do { } while(0)
+
+#endif	/* _LINUXKPI_KUNIT_STATIC_STUB_H */
diff --git a/sys/compat/linuxkpi/dummy/include/kunit/skbuff.h b/sys/compat/linuxkpi/dummy/include/kunit/skbuff.h
new file mode 100644
index 000000000000..e69de29bb2d1
diff --git a/sys/compat/linuxkpi/dummy/include/kunit/test-bug.h b/sys/compat/linuxkpi/dummy/include/kunit/test-bug.h
new file mode 100644
index 000000000000..e69de29bb2d1
diff --git a/sys/compat/linuxkpi/dummy/include/kunit/test.h b/sys/compat/linuxkpi/dummy/include/kunit/test.h
new file mode 100644
index 000000000000..e69de29bb2d1