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:
Bjoern A. Zeeb 2025-09-04 20:27:16 +00:00 committed by Franco Fichtner
parent e343e6a15f
commit de0b26fc5e
4 changed files with 15 additions and 0 deletions

View 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 */