From nobody Sun Apr 10 18:34:08 2022 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 3F70E1A829ED; Sun, 10 Apr 2022 18:34:10 +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 4Kc0xs2wBjz4jPD; Sun, 10 Apr 2022 18:34:09 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649615649; 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=wLQQXXzjY9iNBSnaXtU5EykgZyK7SHtLwp80gsuJEQ8=; b=ROXOnKiXF0hw8KrhZW67LqNVJPC+NeDwfs9wpeDdK3WCmSxLuyoGFb/WF96uO+my/kPMOy hW3aDXbjT2byx6zOd1OSKj9sUpfwcuzDmyLv7xvQ2PsR8E9VmDn7ymxxLfMDwzGOAowhcf v6TUfiayA93aTZvkQn6UVVOEdOC42OEt77XAMaLdFstLaMOyIysJBet9JPPl/FteyGl5y7 TxgmiWTqYg3WdcTJltT8yznFOqRgxfnfplMJ54+owV76fVGTQhmjItyLMUAvUYQpEtB5l2 2q0ctEB+u2wWObYpLM4GjTGPukh7iRFOD1LgGrOARmJ3BgrmNW55EiVomC8VeA== 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 EFF2A138F5; Sun, 10 Apr 2022 18:34:08 +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 23AIY86s074941; Sun, 10 Apr 2022 18:34:08 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23AIY89c074940; Sun, 10 Apr 2022 18:34:08 GMT (envelope-from git) Date: Sun, 10 Apr 2022 18:34:08 GMT Message-Id: <202204101834.23AIY89c074940@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Robert Wing Subject: git: 3587bfa797cd - main - vmm: fix set but not used warning 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: rew X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3587bfa797cd66dce2e94ca93df5ce41def555df Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649615649; 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=wLQQXXzjY9iNBSnaXtU5EykgZyK7SHtLwp80gsuJEQ8=; b=dw9Ymcv39au+uAd9D+Jcf9vqkeWqLlGWORUTZFf+QuWLzvhHCZw5/+L9CwiCfxU2AHO4W/ YMeEbD+h0Bwdu2Bv3yScFFVezq1Q0MBq7oFRexbpHg8QMKJ9rq3kGx/DlaNuG6Py+4FGXw 8s0IzB7KIlYFsQryYCrKYpk3TgKs4oPJeJU/o3fmbBSxLNYF0ylrqpV2s2igFa+Wcqu/Uh JBUcOsVQm9To1Ob1QcLsrYvb5Np9omY909qvepXZsLvHxVmELgq1/Egj0uV0NjeFNfZEkO +nmtKK0/MP404PDsi7s5saj1MYGU2TZUmjlTJTPvcUEVcbnwREFYYgzhv+AQJg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649615649; a=rsa-sha256; cv=none; b=Y2BYRXj5PKbfIuUO6dPozQ3+g8Xy+bGH4hYDIFa49Qi1QpQz63Q9vGVT8PaK9aM2aIJqjx U6rz8Syi1urhP90E9UcRfRvta0FHSMrto0DdQHGJrLBW1hX7eSn2cVicvmaQ9Q/+4DKGVd ynUnNxX9P1+LAvfkWxTr45jW9DQV7VgFtp3XITodD3dGg4xN8//Ewf/9ZOZT4M9YcvrHmo WrleCbrxi7zSjQWq/Atmmjfv2xADFdvl6c1pN0avIp0MTixzHXHlsmJqUmmimewUMd699H gG9m1KXzTvkQ9T3TV5WfEYXKy3ZOv8tBEGB6dQE7FX8VbVM2qi0jfU7R4NrC7A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by rew: URL: https://cgit.FreeBSD.org/src/commit/?id=3587bfa797cd66dce2e94ca93df5ce41def555df commit 3587bfa797cd66dce2e94ca93df5ce41def555df Author: Robert Wing AuthorDate: 2022-04-10 18:30:14 +0000 Commit: Robert Wing CommitDate: 2022-04-10 18:30:14 +0000 vmm: fix set but not used warning --- sys/amd64/vmm/vmm_dev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/amd64/vmm/vmm_dev.c b/sys/amd64/vmm/vmm_dev.c index a83c74219fee..f5973ef5b6a7 100644 --- a/sys/amd64/vmm/vmm_dev.c +++ b/sys/amd64/vmm/vmm_dev.c @@ -993,7 +993,7 @@ vmmdev_destroy(void *arg) { struct vmmdev_softc *sc = arg; struct devmem_softc *dsc; - int error; + int error __diagused; error = vcpu_lock_all(sc); KASSERT(error == 0, ("%s: error %d freezing vcpus", __func__, error));