From nobody Mon Sep 15 19:11:18 2025 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4cQZPz5D60z67sxV; Mon, 15 Sep 2025 19:11:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cQZPz15Zlz4FrT; Mon, 15 Sep 2025 19:11:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1757963479; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Vo7twbnppyUdkHTfnqulNUX55uF1aqJ2eKhiCXwjH00=; b=O02xyrrTVAAyEstRs0J2I3VOGjX9XuCAlOK1HusZXUGgJFs+NpqDoLy9n9qA6F038votkZ /8I0qBoHq9jiIrWeFOnVOfU6FeZGh+s8YACVfjWtwwK32fY0Fz/1AEqKmcI0cwmEo4nSsv zH7ie9Rwa7jlgNPaDj3Yc5ckJZ+yE2qrS14ewQLPIdabYsF9ciTHCfrAYgqXvusYPVsr1o hazFAiOOa8Gs1ulPpWGEDbMEFXMhedwUYqhCoKNq9MwvS9qengnKdd10+WmHFnVckmeQuS R9oHKMIUdmNafNeKUo08XzEsgYPKNVlP66cNQr+RNCRQ3jyWp4IJqWlIPZTqJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1757963479; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Vo7twbnppyUdkHTfnqulNUX55uF1aqJ2eKhiCXwjH00=; b=sr+1XK4PCZT9Bxd3ck1ts7pU2bZGm0nixhoKiu3ucYJWPqCbYZ9y7OZKltbI9GOCs4nfJ5 LS/OFPJNHmZceh6n1J49HFpWOrUSSU7x6ecFS7n/CfJC/Z6Fkp/xEzvq3zqJexfAVtoYO2 bqh6DGgEbUrRJLgttSa1Q3YJGe493mCGa6miLy96tkqNVz9ogZFtfmD1sPsappF1PnHAAn bsgVZFx10OeongRHJhytP1Nr6UAfVhBWQbo6GRZYXVyU9Ge+F7NYKipn0gBwo+tNoiZeu2 sSjWcd2LcXsfH01lHU3X9+I7b4BgOwHDTTwg8I4+gUx/ZO9/kBb0x0xCouxHhA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1757963479; a=rsa-sha256; cv=none; b=latV6CujeDWGXaKpmiHuzFmjGGrtJVU7ex7Fol2Gxb6RKSXTlbr39nGrTXp6MVZ1uLKb1d DiVOhcYGuaVrhZ/qlGp74ghubh+wN0rRW4XseVn9iEHhuH5IZ7T6b2oJS7oMVmhPyqcgRF PBkI4C/mz9lUBQAaiQTrT3K71IWMgxKUxU3i49kts0cfXtxneMVSxrz3TwSZm8S+0/kvV/ ehnwHtwKbDgrbdTMYHgqMF9ICPc1NVhJJ3aDpqDcynLWpncy5Vd/nk328ZrwoAyMQIOwmo WNmkzt9HiVZjQdQq6UuNUhwe72CHAZ+l+I8YSzQOx6HKdhh4eGUzyxhmAVZ3DA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4cQZPz0QDDz16C0; Mon, 15 Sep 2025 19:11:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 58FJBIbS050778; Mon, 15 Sep 2025 19:11:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 58FJBIF6050756; Mon, 15 Sep 2025 19:11:18 GMT (envelope-from git) Date: Mon, 15 Sep 2025 19:11:18 GMT Message-Id: <202509151911.58FJBIF6050756@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: "Bjoern A. Zeeb" Subject: git: 3753913c9e1c - stable/15 - LinuxKPI: kunit: add static_stub.h and more dummy headers List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bz X-Git-Repository: src X-Git-Refname: refs/heads/stable/15 X-Git-Reftype: branch X-Git-Commit: 3753913c9e1c3375be29b8f4ab925b054fe1ac4b Auto-Submitted: auto-generated The branch stable/15 has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=3753913c9e1c3375be29b8f4ab925b054fe1ac4b commit 3753913c9e1c3375be29b8f4ab925b054fe1ac4b Author: Bjoern A. Zeeb AuthorDate: 2025-09-04 20:27:16 +0000 Commit: Bjoern A. Zeeb CommitDate: 2025-09-15 14:52:49 +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) Reviewed by: dumbbell Differential Revision: https://reviews.freebsd.org/D52079 (cherry picked from commit 7c473933624f701263a83da526cac680b1ca69ed) --- 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