From nobody Wed Aug 10 21:17:45 2022 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 4M32pK6BnCz4YWHm; Wed, 10 Aug 2022 21:17:45 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4M32pK5XP1z43P5; Wed, 10 Aug 2022 21:17:45 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660166265; 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=V27G7H3TfhX8WanLgmfLg9zfdSjik0r9NZ2l1rzUTgo=; b=l2DXnqjxcvMCagsHW5NiEWl7rP9Lpg90X/JQ1Exo/cioXem6mDfjfjZlzpYgaZgSCjOnfZ AZoBFiMphIuGKbKS+FgH/bpWk8Bu5zCZCAnKeAgPa1MWLpzK/ZfaGaBQ091Vi4nkTF9Ztx Ai6ePBZ0eDyk0m3mb9Xf6/pxKn68+7Qd2ttcsb2Ibr4FkJmTR1PWxJcMCnYZ6usQxBAbNn 7Loq5We9CjS8YMqielTejkpXLfqKLAmEou1sb+YBFOCx/cmC1/8r07jKrUGN9CeQt95FGi 1WxGnFdLUvvt7fk6BF2N5+TBK8XSyxTsA3lJoJjtzSRSR1Q6gGIMuqhIxF3TsA== 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 4M32pK4bZlzQj5; Wed, 10 Aug 2022 21:17:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 27ALHj5h096413; Wed, 10 Aug 2022 21:17:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27ALHjYe096412; Wed, 10 Aug 2022 21:17:45 GMT (envelope-from git) Date: Wed, 10 Aug 2022 21:17:45 GMT Message-Id: <202208102117.27ALHjYe096412@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Ed Maste Subject: git: 0fd8d3589a68 - main - acpi: mark INVARIANTS variables as __diagused 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: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: emaste X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0fd8d3589a68838d62d47f240d7fb22ef0d4dbeb Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660166265; 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=V27G7H3TfhX8WanLgmfLg9zfdSjik0r9NZ2l1rzUTgo=; b=tp11fGo+Og8ecS1LTnBhfpAPthTGnrLui0YWHas8lBs3XkSj8On5uhY1Xp8++5QGJH49Yl mG+s83Nb6GjmvUu+k+8fhRfE/8kw8AcWk7kPJ+js0YzQlsgbT97vwBsLYLP+AkWrN2vLRI U0TJhfCn7ZcysZXTtqTjRfSALVUrzcM3e42o3uao7BwHubFxKE4HK18hK423f5N50qJXJe geT+LTVUQb2MCJzgl8EnI+8tgVLK7qa0HnskoIxdpKY4Uw2jxOrj5wITVlSJ6d+PwUjrdx yHtJU41XkHrNvndw4fHBNiknLXO9Og3/6ncYtmFRZbOS2ohXG2qGzl11JzzmGA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1660166265; a=rsa-sha256; cv=none; b=d49NnlUupiPfQ8MI6P6H/Xlh0sZH0tb379BgN8lOrttcYk1/qIw+L0+kpEgDWE15L0Cf8s tHcXI83polAyW6guNfYXEHjANBk/EqB0GReTJ9TJfImAb3xcfCIqpGCWUJur6sysRN7uoQ 3WLpKSbrRr9o28oY82V1zCtTII447W9yebeIy7MjcxC/VZ1Tilv+SY2dSuzle8hKfkrAdN QCrM2YoTV3N1s/Qvwb5P8vYuGAlTRRtZk51W5K6TYeXdGaKzL6WTbwIp+AzGEWc7PheSgP WddLf0unWnFCiIxte9l3kdvOfjDiKE162ULTi/ZHP1Mtdclb2izXlbii4NS2CQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=0fd8d3589a68838d62d47f240d7fb22ef0d4dbeb commit 0fd8d3589a68838d62d47f240d7fb22ef0d4dbeb Author: Ed Maste AuthorDate: 2022-08-10 00:39:28 +0000 Commit: Ed Maste CommitDate: 2022-08-10 21:17:33 +0000 acpi: mark INVARIANTS variables as __diagused Fixes INVARIANTS build with Clang 15, which previously failed due to set-but-not-used variable warnings. Reviewed by: jhb MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D36096 --- sys/dev/acpica/acpi_pci_link.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/acpica/acpi_pci_link.c b/sys/dev/acpica/acpi_pci_link.c index 0b33772d6c6f..dfbaeaddec06 100644 --- a/sys/dev/acpica/acpi_pci_link.c +++ b/sys/dev/acpica/acpi_pci_link.c @@ -719,7 +719,7 @@ acpi_pci_link_srs_from_crs(struct acpi_pci_link_softc *sc, ACPI_BUFFER *srsbuf) ACPI_RESOURCE *end, *res; ACPI_STATUS status; struct link *link; - int i, in_dpf; + int i __diagused, in_dpf; /* Fetch the _CRS. */ ACPI_SERIAL_ASSERT(pci_link); @@ -861,7 +861,7 @@ acpi_pci_link_route_irqs(device_t dev) ACPI_BUFFER srsbuf; ACPI_STATUS status; struct link *link; - int i; + int i __diagused; ACPI_SERIAL_ASSERT(pci_link); sc = device_get_softc(dev);