From nobody Wed Apr 13 23:10:03 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 3765A1B41DC8; Wed, 13 Apr 2022 23:10:04 +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 4Kdywq4TbLz4mBq; Wed, 13 Apr 2022 23:10:03 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649891403; 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=QcmXL1pTD2wsj+M09rfW8KngTcdS+zjcpRAioMxQCDM=; b=hakbg+8dKgnEVIU7bbZm6lleLWL6hOv/tRfAdYGE9wrbGhD6YaI6d9uDbjbv+mXCiMu7ms aHcITMZV6t5zvEhcFZcu5Pv2kSlxs0cwJMLY5ByEbilcpofGs00t1TAb1CmwrqDAmTAmcF yu3U1x5TnTE9cFnHH7Bs4BmjRARAWw4iN+4Glc0PVi667xSxmzNu0AIAFcN8K7GE5p7JV6 6ad9tpdmF8uFBiZL91Ko52VhBIZGOp25pf7qHSHd2BOADqvlSP8p1DE8codDDT1Toy6CGI WUFVzzjx2NpiZ+/mA2aBVz+21quTO+fxrvST4bWIxun4ujwoxf5T8ZRguZedAQ== 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 7305214EF2; Wed, 13 Apr 2022 23:10:03 +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 23DNA3Qw077186; Wed, 13 Apr 2022 23:10:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23DNA3Xp077184; Wed, 13 Apr 2022 23:10:03 GMT (envelope-from git) Date: Wed, 13 Apr 2022 23:10:03 GMT Message-Id: <202204132310.23DNA3Xp077184@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: 8bf0d2d3e39a - main - arm64 rk_pcie: Use __diagused for a variable only used in KASSERT(). 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: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8bf0d2d3e39a728440f6a41cb9f5855f32c6e21b Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649891403; 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=QcmXL1pTD2wsj+M09rfW8KngTcdS+zjcpRAioMxQCDM=; b=igxGiMcW4yn231d/z5mjBDEW52sFHyp/1/TTDNGhyDDVp+q8c1IpFlc9tyViJy0y7+qoxY TozZUVoDLIRbCCk1BIQbDHD6HizvOgTPZYdYms0hRM/E6topwXFqV/WuKXNuuBt0Nwek8k SJRy98F5jVAVc2AlRZOtf0qX4HpIHTb8Wf2soIBFZGYB4PoMY0I18iV7mJE71l+mC16KHu cNUF3RJZlr4DpQfcGKE9Y+pzXLBjvttIzqEySWinsRDXrYlV44ua13wZgWnJibMiU6o7R3 WjJee8gV66n8DMD/ltYAqX67o0KMQaic5BK6EKPX68jxoSzuUtAXDxjTyAyXtg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649891403; a=rsa-sha256; cv=none; b=ov34yOKjNP6jDatthKrNgfxqrZR9priewqrdJB4PHZPFkXZWLt4ThN8XYvEpdPqkOcjM9u 2JuR6CNYWGOlQHiSGjVBQaA4CwYkQRt97kNTLnqIf1mDlO+4ZobS+q1yPCZz6fiZEYeFQI z4Aix7kwTtIqkFaplr/UpcJ8RtopX8eoftT7aE9J0bZsgyRLW72NQRmvLSHFOZtQARMNve mHvTDiMknls8wPp8DxCCOCM/FTknmTg6Bml6hhpqpNqvC+FaM7xmCNc7AIr0hXEWwsZ7Q2 q0Mx5Y6iwCyH62FTQK4f7d9iZjabpyzZ9mAD4XbL6oO5mFc2je7T6HXHC/3s2A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=8bf0d2d3e39a728440f6a41cb9f5855f32c6e21b commit 8bf0d2d3e39a728440f6a41cb9f5855f32c6e21b Author: John Baldwin AuthorDate: 2022-04-13 23:08:23 +0000 Commit: John Baldwin CommitDate: 2022-04-13 23:08:23 +0000 arm64 rk_pcie: Use __diagused for a variable only used in KASSERT(). --- sys/arm64/rockchip/rk_pcie.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/arm64/rockchip/rk_pcie.c b/sys/arm64/rockchip/rk_pcie.c index dabd7931e442..b9dc640efb8b 100644 --- a/sys/arm64/rockchip/rk_pcie.c +++ b/sys/arm64/rockchip/rk_pcie.c @@ -336,7 +336,7 @@ rk_pcie_map_out_atu(struct rk_pcie_softc *sc, int idx, int type, int num_bits, uint64_t pa) { uint32_t addr0; - uint64_t max_size; + uint64_t max_size __diagused; /* Check HW constrains */ max_size = idx == 0 ? ATU_OB_REGION_0_SIZE: ATU_OB_REGION_SIZE;