From nobody Tue Jun 11 13:12:54 2024 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 4Vz8HC18XHz5Ldw2; Tue, 11 Jun 2024 13:12:55 +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 4Vz8HC0WWgz4d3l; Tue, 11 Jun 2024 13:12:55 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1718111575; 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=HpKxnrp3lNs1s9NtP4I+KAK7UtHVeOzsmIPFP2iCrQw=; b=WAiZA8xxRImRGH8V3WP+AOQQmxq4mq6WKakOxjG0f+0dZ4CrpFA0o0geFsUPwiPSqWPjUz p4UsfRW9Gl7/YxDr8tVR2iocFvK82UddhchaqQf9fapqQ7YkVNUSKbBIJejV3WKRTpvXOY Ck07hpsEAS8WxLHywanXhMeGSHvZiWYWBxZqyxyfDA5QNEKjC3lgJ6A8jUVuGPccJ8BVD1 657d/M6UAD8lxeca3ab2bO/nfFbqNkOoUY9eBzEnpB+SSGhOFTMkg4i/Mcg109xsdg8XoF QZgXNj/uwW4TM9cV66aqHht+T3sSN8sUYtRrL9NDLM/HFQMV1oxWAdqL4765tA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1718111575; a=rsa-sha256; cv=none; b=eNTRGP/jOWJzVqGbu1ZR2TKU+OJjmBtwFEq08JJJkvl+COBq4JQdNOmriZskuiFB16o9gT wLkAmAmimL7gmuzvs/uGlxVSnIL4aDR4/q68NbohriCNKpjyxwjqvdNbtdPJMO2bDgrTDc 7rysSHLFv8jgHVdkzEfkWZz2LJHzQORqRA/a+PY1Rpycjvc8gQNlppFa8OD7piCUFyxBHu P/O8uuv88V5tj8nhfEE8R6aCnkfJLI+Ix2nV6htFcNuH11FQM+Xi3EzNCHhugqORM+YDvu Z6J73VA1MiKtovMwa6pLNyCx8lHby6xOcyzrLrMzqTNSYEx1hQ/7KS84a6ULww== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1718111575; 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=HpKxnrp3lNs1s9NtP4I+KAK7UtHVeOzsmIPFP2iCrQw=; b=FSI8NkrMIhz/5qKhOWwitEeSr0X/tsdYrz+DK2MH/U6qN9t0c5eFY2LLOMQD8GNXiXKFLV HdRJ6YmzvUWUfjqF40nNCtiwpRMN5P62KhdBbO8+tsdfiqhQc1GHA2HZb+MybsNVoxKwGq 66oMGz5JOEEMfjD51GIk/XmCd6Bi1f+D4N6kgDX4IF+DM4IDNgF3oQ4Yr8wHAEQRDMLak4 Ikt0SK1r3W4LOLJa+FCuCXD1zhC2eoXf8MmiSN69dedZxn5Q/ceKXMRj0T4l6ttmIZ01e3 LpfX4Z73EdRNS1+pfgjhIp6PN+tr8r4Z6GJYy/DZVNBvXyBHsmEI7aCzr4VwGw== 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 4Vz8HC07Cqz191H; Tue, 11 Jun 2024 13:12:55 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 45BDCsDm054684; Tue, 11 Jun 2024 13:12:54 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 45BDCsGI054681; Tue, 11 Jun 2024 13:12:54 GMT (envelope-from git) Date: Tue, 11 Jun 2024 13:12:54 GMT Message-Id: <202406111312.45BDCsGI054681@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Andrew Turner Subject: git: abf239cf097b - main - arm64/vmm: Add braces to fix the gcc build 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: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: andrew X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: abf239cf097b7a16defb9857027165427341c38c Auto-Submitted: auto-generated The branch main has been updated by andrew: URL: https://cgit.FreeBSD.org/src/commit/?id=abf239cf097b7a16defb9857027165427341c38c commit abf239cf097b7a16defb9857027165427341c38c Author: Andrew Turner AuthorDate: 2024-06-11 08:49:14 +0000 Commit: Andrew Turner CommitDate: 2024-06-11 13:12:43 +0000 arm64/vmm: Add braces to fix the gcc build Reviewed by: markj, emaste Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D45548 --- sys/arm64/vmm/vmm_arm64.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/arm64/vmm/vmm_arm64.c b/sys/arm64/vmm/vmm_arm64.c index e0547bcef914..6b058a993cdd 100644 --- a/sys/arm64/vmm/vmm_arm64.c +++ b/sys/arm64/vmm/vmm_arm64.c @@ -1352,7 +1352,7 @@ vmmops_setcap(void *vcpui, int num, int val) switch (num) { case VM_CAP_BRK_EXIT: - if ((val != 0) == (hypctx->setcaps & (1ul << num)) != 0) + if ((val != 0) == ((hypctx->setcaps & (1ul << num)) != 0)) break; if (val != 0) hypctx->mdcr_el2 |= MDCR_EL2_TDE; @@ -1360,7 +1360,7 @@ vmmops_setcap(void *vcpui, int num, int val) hypctx->mdcr_el2 &= ~MDCR_EL2_TDE; break; case VM_CAP_SS_EXIT: - if ((val != 0) == (hypctx->setcaps & (1ul << num)) != 0) + if ((val != 0) == ((hypctx->setcaps & (1ul << num)) != 0)) break; if (val != 0) { @@ -1382,7 +1382,7 @@ vmmops_setcap(void *vcpui, int num, int val) } break; case VM_CAP_MASK_HWINTR: - if ((val != 0) == (hypctx->setcaps & (1ul << num)) != 0) + if ((val != 0) == ((hypctx->setcaps & (1ul << num)) != 0)) break; if (val != 0) {