From nobody Sat Aug 15 18:28:34 2026 X-Original-To: dev-commits-src-main@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 4hMnfV4y9dz6p9cx for ; Sat, 15 Aug 2026 18:28:34 +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 "YR1" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4hMnfV3F5Jz3Yd7 for ; Sat, 15 Aug 2026 18:28:34 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1786818514; 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=WUeRt9eVG16U2TO8VcJZOdf6rEtlc05eR0/g133P5Wk=; b=wlZH03L9kNcoUEIWVorqH1iC9+y2dSf1lCiZJYTTTH+FobYf1eyrBZg6nFlemZZromGZJQ II0IPVs/yZ2d8JhvsnhsDMJh8s7o29gQZg4YPeZnkABy8sY1yJOoWhqvYRlwkyyu+VGyH5 JO6hkB46MM8aglZVS5+FbUo+7ICu0oQftBALphq2Kk58dQFDNhxilD/13P4lUHvCI3Ujf4 9X8gpOurO5WEUMELOB5Ix0F0UugkzNhlbdkSxuilKM9nBxXNFMMwgAa/V+oOgDxtn6hX2L UDasqXp3wm11J/Hp06zt6pHzHFgx11SOlmbb7XKBHH4+VOf7+K94oGg2Y9R0SA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1786818514; a=rsa-sha256; cv=none; b=C2MutAj3ekna3gMQJSLus8cVE7wZ/VhD6mDh95mzFOlt6Ewq+tWGgMr2xI5LcbdnxMkvm3 pmGxXFsw1qr/+bIJwe9kO4Qwrj1qEtSu6KIUk5rfsNwUw4UWUuzBP0i9IKKPFggRAr510Q +mM4MFmv6er3j4eEcTp3Ptz9URrWzaCzQa2ziDJ/FEqE2PqM7GPZ5OFZARd17JbyAolGNG yBwdkfwZeRAqORP9fTVO49gZjjmVuRroL786JytvMf7nXultcLH2YT87mIEc7GkuxNfsY5 9p4rLZJGzGls/3EqonwJe4lZrcte4mlnsaWAe5kvui1wC+6Ai68vdOoK1kYBHA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1786818514; 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=WUeRt9eVG16U2TO8VcJZOdf6rEtlc05eR0/g133P5Wk=; b=kaJLqMsewDrizTTxbfZhc76d9gpS/2nAnbDJ5+PX8+P13pfso+co4oQLQD7YjSsKYO18+x gqvRQVdyZmIldAnGALLfHSYs4OPA6gMf7pmfmXa6TAzZIionZM6UotZ85Ejl1brS7dopGs WYoQf5M5aACBGjGytNqlOby1hrIZeL+kiPH/MyIvCd8RHZD1ZgRfcF2Iy+wgYW3sNTwncw X8QLnwzIZP08WGKJiyJpp1IX+mTkLIbuKD6pawsHi+wheCc2Zz9q23mWP1gW4ib+Wm0QA9 IVobbLIPr+s/cySBkuuz8EThpx7e3VFpxukzZQHWH9BaOhhty3LkVKg4C7Tk3A== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4hMnfV243Fzt3x for ; Sat, 15 Aug 2026 18:28:34 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 361f7 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Sat, 15 Aug 2026 18:28:34 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Jean-=?utf-8?Q?S=C3=A9bast?==?utf-8?Q?ien P=C3=A9?=dron Subject: git: d77271ce7a65 - main - linuxkpi: Add `kunit_fail_current_test()` List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dumbbell X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d77271ce7a65713d00d19a1617d6ccc5783388b7 Auto-Submitted: auto-generated Date: Sat, 15 Aug 2026 18:28:34 +0000 Message-Id: <6a80afd2.361f7.a7fbaf2@gitrepo.freebsd.org> The branch main has been updated by dumbbell: URL: https://cgit.FreeBSD.org/src/commit/?id=d77271ce7a65713d00d19a1617d6ccc5783388b7 commit d77271ce7a65713d00d19a1617d6ccc5783388b7 Author: Jean-Sébastien Pédron AuthorDate: 2026-08-15 18:27:03 +0000 Commit: Jean-Sébastien Pédron CommitDate: 2026-08-15 18:27:03 +0000 linuxkpi: Add `kunit_fail_current_test()` This is part of some unit testing framework. The DRM drivers generic code started to use it in Linux 6.15. Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D58249 --- sys/compat/linuxkpi/common/include/kunit/test-bug.h | 12 ++++++++++++ sys/compat/linuxkpi/dummy/include/kunit/test-bug.h | 0 2 files changed, 12 insertions(+) diff --git a/sys/compat/linuxkpi/common/include/kunit/test-bug.h b/sys/compat/linuxkpi/common/include/kunit/test-bug.h new file mode 100644 index 000000000000..46a8c43ea836 --- /dev/null +++ b/sys/compat/linuxkpi/common/include/kunit/test-bug.h @@ -0,0 +1,12 @@ +/* + * SPDX-License-Identifier: BSD-2-Clause + * + * Copyright (c) 2026 The FreeBSD Foundation + */ + +#ifndef _LINUXKPI_KUNIT_TEST_BUG_H_ +#define _LINUXKPI_KUNIT_TEST_BUG_H_ + +#define kunit_fail_current_test(fmt, ...) do {} while (0) + +#endif /* _LINUXKPI_KUNIT_TEST_BUG_H_ */ diff --git a/sys/compat/linuxkpi/dummy/include/kunit/test-bug.h b/sys/compat/linuxkpi/dummy/include/kunit/test-bug.h deleted file mode 100644 index e69de29bb2d1..000000000000