mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
LinuxKPI: kunit: add static_stub.h and more dummy headers
These came up during a wifi driver update.
Sponsored by: The FreeBSD Foundation (initially)
Reviewed by: dumbbell
Differential Revision: https://reviews.freebsd.org/D52079
(cherry picked from commit 7c473933624f701263a83da526cac680b1ca69ed)
(cherry picked from commit 3753913c9e)
This commit is contained in:
parent
e343e6a15f
commit
de0b26fc5e
4 changed files with 15 additions and 0 deletions
15
sys/compat/linuxkpi/common/include/kunit/static_stub.h
Normal file
15
sys/compat/linuxkpi/common/include/kunit/static_stub.h
Normal file
|
|
@ -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 */
|
||||
0
sys/compat/linuxkpi/dummy/include/kunit/skbuff.h
Normal file
0
sys/compat/linuxkpi/dummy/include/kunit/skbuff.h
Normal file
0
sys/compat/linuxkpi/dummy/include/kunit/test-bug.h
Normal file
0
sys/compat/linuxkpi/dummy/include/kunit/test-bug.h
Normal file
0
sys/compat/linuxkpi/dummy/include/kunit/test.h
Normal file
0
sys/compat/linuxkpi/dummy/include/kunit/test.h
Normal file
Loading…
Reference in a new issue