From nobody Wed Apr 13 23:10:04 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 296C01B41F38; Wed, 13 Apr 2022 23:10:06 +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 4Kdywr52m9z4m6X; Wed, 13 Apr 2022 23:10:04 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649891405; 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=zJR5kcsG6jbRcl4olLUAI1mgWgcMqHB7j3XiWmX1DpE=; b=I2LXywPVMeNzs15rx2kRNpG4MAnUavnLAKXezt7iaoZ6jBXcHH6z6ek6vqxoVPGqs6Izbs 5d2KnH5cO7hjmHKNoLMYOM20CGmVYE+Hp0rG/8olajpl8e+mzJTdYxHmPAFXDVkitYkfXh TeT+WomVtKzCdPELYO2QnIhElWn5+QX2f2WwlfikeydCgihSOUs3FmFUTHbII26aPNOaLo 7sZhUpIpmbLgHW8qvvGWQQxty5P+CfGT1+ZEInzk7OzXmunLrHKKrY5Usdr4mo5i1gSXaE k8hGF9RM272T07jI37yxSRt9OkpGBg/3G5sfqDGQnFZlYIXjSssXI5um714EWw== 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 7237314B7E; Wed, 13 Apr 2022 23:10:04 +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 23DNA4gu077402; Wed, 13 Apr 2022 23:10:04 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23DNA4bY077400; Wed, 13 Apr 2022 23:10:04 GMT (envelope-from git) Date: Wed, 13 Apr 2022 23:10:04 GMT Message-Id: <202204132310.23DNA4bY077400@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: d586fc165cfb - main - i386 getmemsize: Use __diagused for a variable only used in KASSERT(). 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: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d586fc165cfb286d88b28956eb748257b0917cb4 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649891405; 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=zJR5kcsG6jbRcl4olLUAI1mgWgcMqHB7j3XiWmX1DpE=; b=RCDUO3ovxfBDbhQhmVFp2Irhv8Ij717N23DEIR4dTbPB6+k2DKV1pKH/iFvlM7wDnpkk5U CNye4XilSQmR1X6SZmZf9jX5EF3zmn2mxpDb2MAPg2W0uqfadf+GqDWo2hOQWIDjn1bWiR Z97s/eWByoOKxhKZ4p5Nyx8eDtZEGHSU9ZsgfTYO6epqdxJMYmvp/Y/Rx2C3/jkczth/BX 24BhfM7svSONp2tX4xKi3OMtfz+KuoA+ZiDLxV7StM7fNPt55HP6n3ffpLCBR1/6AqdhaW 44qXYmQlqXo57ZZOHj1VVw2k2mTlPXOuG/XialFx9WDlKt1RW8zm2L7Hlv5pMw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649891405; a=rsa-sha256; cv=none; b=sD+CMYT16ankBqFectEuRSZ/g13EHH5+GSYJPHcTdGFdEOMAZuslJJu//cNmpkIfR53UlB gX86Q3ihfHavhUokOqJpmci23dinytbTrkQBB3XQeMIFxh5/gi4nabs9sdOknHEmdQrpXI jc0EET54n2eVE7aCAMvxJGxmKdGwJWb47DWpd44mh/qhnljC8V8rZ6SXc4X7cHMAc3cP/W nKOaCTiouZOLf/Ix4U1axcqtXJwZwYezXGpTI+ZhB1mj6xhzFtkhO7zINP67aNC6Ndgx21 O7MwF+J+HuDtGNFUihzS0ZRoKrIZ6LEnXm2K7Dx2JmDOv/kj/NmeH9yKEVImng== 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=d586fc165cfb286d88b28956eb748257b0917cb4 commit d586fc165cfb286d88b28956eb748257b0917cb4 Author: John Baldwin AuthorDate: 2022-04-13 23:08:23 +0000 Commit: John Baldwin CommitDate: 2022-04-13 23:08:23 +0000 i386 getmemsize: Use __diagused for a variable only used in KASSERT(). --- sys/i386/i386/machdep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/i386/i386/machdep.c b/sys/i386/i386/machdep.c index 9fee973d9e82..43c18042748e 100644 --- a/sys/i386/i386/machdep.c +++ b/sys/i386/i386/machdep.c @@ -903,7 +903,7 @@ getmemsize(int first) u_long memtest; vm_paddr_t physmap[PHYS_AVAIL_ENTRIES]; quad_t dcons_addr, dcons_size, physmem_tunable; - int hasbrokenint12, i, res; + int hasbrokenint12, i, res __diagused; u_int extmem; struct vm86frame vmf; struct vm86context vmc;