From nobody Tue Sep 22 06:54:16 2026 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 4hprRs11ngz6tCvw for ; Tue, 22 Sep 2026 06:54:17 +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 "YR2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4hprRr6Qffz4M3B for ; Tue, 22 Sep 2026 06:54:16 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1790060056; 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=7bQeqVbUiyXJAbRx13T3OD/VGjN9D1/xM/agQxI7FJE=; b=p8W8Qvt+oukjUYS1rd1cOc3rdgrQi1uywSQpELVsgDlbHVPXQ94gzDHAs2f5DhpJwexmOV KOkmYTyrxBRcTfyR9ul8IWA1ekWUYroGHBZR6bplZQpKzOu9uV0WGyzW3ogXemNWJECgnN 4JHaU3QvonIvJMI0tiPsluNjxxYNpSGzgEzvGzEExy+bWFcp+W06bWzPwDgaoHa+JClbs6 6cYPWg2N5cCIeLka/DRWe7v3dxvyk+ce9jci09Hl4BV4znjy6ofu2/9aGnqIVf/sKnueIN qFoySHBbng41KO0j+53tXtmFviNrtf9RHAskPhD0Zc+cflb0n6ujdGeOOHAZbQ== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1790060056; b=mlEnAUC8wGnTpjZYLCmtuwWVb+bBB+OJX/O1I01BigvMS/CvTWU9lvPfdym+2BqeoxKVMW ef4+d+Rpg0XXW2Zx8di42U4WOyHJonU8zI1/M0Kz9re818lMpAOPp3hQFnDL3dUH1DkEWr p7mCa+TWVXPuDnHvYC2mZR400VsoOrzhw+IB7DFrc93hKjoHCb4RS5PM7Z4Kuhus+I6wXB vju+vISPmG/ttmXGfcerXq9R2Lil5z3Y7ejfWempbWFn25fXNLiLTVirTHkVmIzMWiSz+Z a8tjHNPOJkOXWKbFrPnTodzOI4WMCOJ0l+jK1HixTxLUIUXOseQbNaXG3rVXNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1790060056; 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=7bQeqVbUiyXJAbRx13T3OD/VGjN9D1/xM/agQxI7FJE=; b=yk/RREx0qA7wZxQcU8urCC4TxgvZVPJNqgRHRYWfL1YNrEXWW2Do2wvs9IguEj0NgjZWvq xDu5lpNAEYgPIPFVnLaHYzYiL5sjREQC87jsGhcU9g2b1lcBfxXMBZaNYeqhXf2N0CV/+A cqu+5mByq6haTm5MJIZP6XoYyCLAq7HfmULhSGuG091P/jiBp+RDRfacF+SuMtpSfS7yI4 VsedIeHc5u9xauFNaFxA3qPPpQ5EWOX0lK42HNOK9LtTkPiHyF5P2h9e60haltAt79YT4C ko7Gze7DxTAsHCXU+FUv1YdZQPX2A0xHFGc55ip2+R+cZkrtdeDGoBZNX8evXw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4hprRr5TK5zwBB for ; Tue, 22 Sep 2026 06:54:16 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 18dff by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Tue, 22 Sep 2026 06:54:16 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Enji Cooper Subject: git: 0e0a2d27c93b - stable/15 - tests/sys/sys/bitstring_test: fix build with ATF 0.22+ 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 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: ngie X-Git-Repository: src X-Git-Refname: refs/heads/stable/15 X-Git-Reftype: branch X-Git-Commit: 0e0a2d27c93bd95566e342d87ffde1e3665c4e47 Auto-Submitted: auto-generated Date: Tue, 22 Sep 2026 06:54:16 +0000 Message-Id: <6ab22618.18dff.6d48e67c@gitrepo.freebsd.org> The branch stable/15 has been updated by ngie: URL: https://cgit.FreeBSD.org/src/commit/?id=0e0a2d27c93bd95566e342d87ffde1e3665c4e47 commit 0e0a2d27c93bd95566e342d87ffde1e3665c4e47 Author: Enji Cooper AuthorDate: 2026-08-19 15:46:50 +0000 Commit: Enji Cooper CommitDate: 2026-09-22 06:52:46 +0000 tests/sys/sys/bitstring_test: fix build with ATF 0.22+ Do not assign `b` in the `ATF_REQUIRE` macro. Set and test `b` separately to avoid the issue cited by clang++/g++ after implementing the change referenced in [1]. MFC after: 2 weeks Reported by: clang (-Wparenthesis) Reference: https://github.com/freebsd/atf/pull/72 (cherry picked from commit 4ae95fe823c0ec8b0b93ed27192bfc91058d9a6b) --- tests/sys/sys/bitstring_test.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/sys/sys/bitstring_test.c b/tests/sys/sys/bitstring_test.c index bf436040c00f..7766f5744c3a 100644 --- a/tests/sys/sys/bitstring_test.c +++ b/tests/sys/sys/bitstring_test.c @@ -885,7 +885,8 @@ ATF_TC_BODY(bitstr_large, tc) ATF_REQUIRE(bitstr_size(nbits) >= nbits / 8); /* Allocate the bit string */ - ATF_REQUIRE(b = bit_alloc(nbits)); + b = bit_alloc(nbits); + ATF_REQUIRE(b != NULL); /* Check that we allocated enough */ ATF_REQUIRE(malloc_usable_size(b) >= bitstr_size(nbits));