From nobody Mon Dec 27 17:49:53 2021 X-Original-To: dev-commits-src-all@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 2E9BB19174CF; Mon, 27 Dec 2021 17:49:54 +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 4JN4tn6X4Hz3QVZ; Mon, 27 Dec 2021 17:49:53 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 C09CF224A7; Mon, 27 Dec 2021 17:49:53 +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 1BRHnr9c018081; Mon, 27 Dec 2021 17:49:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BRHnrQU018080; Mon, 27 Dec 2021 17:49:53 GMT (envelope-from git) Date: Mon, 27 Dec 2021 17:49:53 GMT Message-Id: <202112271749.1BRHnrQU018080@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Alan Cox Subject: git: 03f9cc89e1f5 - main - arm64: Fix "set-but-not-used" warnings in the pmap List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: alc X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 03f9cc89e1f5ddf5f54785cb10f551ab94d139ac Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1640627393; 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=HGVUx3/MLpCHfZ3/eIWYQiCODFiPs2iHQtN6fKjpFNY=; b=qnYeP6oeSEUPcVibWRkZcDSSQ7R43ewT+LKz198R2KiiayZpI/52GC5wWYV/WF62JaRLmB 0/rkJ744UqYb/ixBFhRzZNFWknxiOcBaUFvKdd/QZ+B7fufnh5cVjxZjP+5SoOUD/9UH1U PvRqscF2ie0pQW6e+uGyFMIStf8NRwTFUEvWpVXIkJNGezU5sODCVteT80P+TKmclwCLAE 0gaJAsoov/YnSPb2bYEVElECjqpa+QxhjaJIejLhcNz1s9ODBGxvYlKcbmfaQdtiQ6z09L 2TYVSQUThwZIuS+UT6G2Lg680wQMKONW5KfvDNVMuu7KWuc29aeEWX2SPjpYSg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1640627393; a=rsa-sha256; cv=none; b=Pt48vw7KoHJBv/rZe9ljqaEb7zVufBbQF/P1jceFGIqgQU1mEbx8uMWLouQiooDCAcXaNe LCFlqTjQrNqweDudx+I9tnepgCzdNHRmgHrv7d6UB+MHyVFqg+TZ4IWTSOefBQIJyje1E3 8/uPeNxJU28vnK7/9aF4kOqoPniHo0ibNeymUh2buOCo+5rgxcsZoZESqYhuLlHDpzIwHv lPsPLy7emn+qTS7Jqdw/+GKaMIBxw3NZ+5SqxjTu8tBlLnJIisSSlWbLGBKSJKsNrfuyCw xsczvKmkIonUR/+vaR9pjGsFRTehKJmFLieMEvS8VGmdF0YwAoaXVfgru7Oogg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by alc: URL: https://cgit.FreeBSD.org/src/commit/?id=03f9cc89e1f5ddf5f54785cb10f551ab94d139ac commit 03f9cc89e1f5ddf5f54785cb10f551ab94d139ac Author: Alan Cox AuthorDate: 2021-12-27 17:37:04 +0000 Commit: Alan Cox CommitDate: 2021-12-27 17:48:15 +0000 arm64: Fix "set-but-not-used" warnings in the pmap MFC after: 1 week --- sys/arm64/arm64/pmap.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/arm64/arm64/pmap.c b/sys/arm64/arm64/pmap.c index 0d1e604f22ef..6d12f66807c3 100644 --- a/sys/arm64/arm64/pmap.c +++ b/sys/arm64/arm64/pmap.c @@ -2113,7 +2113,7 @@ retry: void pmap_release(pmap_t pmap) { - boolean_t rv; + boolean_t rv __diagused; struct spglist free; struct asid_set *set; vm_page_t m; @@ -2839,7 +2839,7 @@ pmap_pv_insert_l2(pmap_t pmap, vm_offset_t va, pd_entry_t l2e, u_int flags, static void pmap_remove_kernel_l2(pmap_t pmap, pt_entry_t *l2, vm_offset_t va) { - pt_entry_t newl2, oldl2; + pt_entry_t newl2, oldl2 __diagused; vm_page_t ml3; vm_paddr_t ml3pa; @@ -5376,7 +5376,7 @@ pmap_ts_referenced(vm_page_t m) pv_entry_t pv, pvf; pmap_t pmap; struct rwlock *lock; - pd_entry_t *pde, tpde; + pd_entry_t *pde, tpde __diagused; pt_entry_t *pte, tpte; vm_offset_t va; vm_paddr_t pa; @@ -6918,7 +6918,7 @@ pmap_map_io_transient(vm_page_t page[], vm_offset_t vaddr[], int count, { vm_paddr_t paddr; boolean_t needs_mapping; - int error, i; + int error __diagused, i; /* * Allocate any KVA space that we need, this is done in a separate