From nobody Fri Sep 06 18:35:19 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 4X0lK42GDwz5VS17; Fri, 06 Sep 2024 18:35:20 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X0lK40GT2z4Vtc; Fri, 6 Sep 2024 18:35:20 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725647720; 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=IM6bPNUA0CodHAFR9gBi4RPZ8aWaZMa19Keuva0amsA=; b=ZrXVWKdHldKdPaxq4+AMqve+ws4K+HXzFg7BS24T67tSxconXWpOxCQwOlNw3jJnjcIUuY kGv/iHQmFYGNpDN/zmvsD36JFFoPJaPi48Q/h1MKfTQ467DzIs4dtYMkRXD5zi3/b3VyGz Sv6jpgFPLFRx63L0JQjx195Q3GyptqULc37cKdvnWHmzS7kYFJsbFLiEFnlk+m+RqW+TFV ZfWoLd+fHy131T8VDnL3K1Vh12EVEygO0bTYGwEoM6WrjJA3FyU/Tlzo+VxFAHDD2OfkBI cYlSYe3pWfNwaO4yeUuRUjljsk8l6Q0XhW+M1rQ6YDkEQ/gIhWWMX0NPJtwJ0w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725647720; a=rsa-sha256; cv=none; b=Q4B1wrJMQr5m7e2b3og6gg+G8YfO1PM61v4Zy2ZOcNfcxEwP2hXeAtMHMVlZvIjYfwr0Ta 3qN0ALvk/xZBsfRpxcYmv6rxyT3n5k54WJplNZwAafyP9s1FvjUQLgm+a+RyycAkcBgqN3 GPUh8T1vA33d89HjGl9u6D3wSQoJ5El2DpwDsJa1Bd/zHa4FmqHGEzlkmJO0c9j123mb03 89Mhn7pYCqL9ZBji2x2kkbXslQAMW8BfJ/L50yK8lhzzwEruqCtzsOQr+9WnjcDYWVsxIT hAvQdhMMbWaHoYWePVTeza3TjV29VIA4ZorPhlCnr4R/vjnVuT/ouiUldmbyaA== 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=1725647720; 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=IM6bPNUA0CodHAFR9gBi4RPZ8aWaZMa19Keuva0amsA=; b=kzg00IGzQ1lOYTFzfOM9qHOHPHL+PZjyvw2HrQrlL5WcDEWaoghpL/W9ptlqDZCsKFjMky AACa9RZaA51jHkLX2rtD9dEn3VeO2OMPoCk3Eat3UC8hhSngmlgzP4yXRKR0N1bAR0wmws XLfLwqAFbs1yLZYQuSzavVw9o/SEgvLnwcuUjH9qQkhV5Ra6yWNSaN8jrggreLbTE6G92k Qslg4nXyrXtwZ0J621VUnifHYDTetFZfFykUVYJLK84Y6vV6vV0cpgOf1162AG7LJt8pn0 T6OreOYquGO3YGAEKQ9l3TDwhNgF/Ku5xj1N/aU7ocmLKPopfWga4baQDgzElg== 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 4X0lK36zTGz12r6; Fri, 6 Sep 2024 18:35:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 486IZJQI011130; Fri, 6 Sep 2024 18:35:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 486IZJxv011127; Fri, 6 Sep 2024 18:35:19 GMT (envelope-from git) Date: Fri, 6 Sep 2024 18:35:19 GMT Message-Id: <202409061835.486IZJxv011127@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: 5d889e60c15c - main - amd64: move the right parenthesis to the right place 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: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5d889e60c15ce7856cb9a9bc258dab8aaeb94efe Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=5d889e60c15ce7856cb9a9bc258dab8aaeb94efe commit 5d889e60c15ce7856cb9a9bc258dab8aaeb94efe Author: Wuyang Chung AuthorDate: 2024-08-02 06:44:38 +0000 Commit: Warner Losh CommitDate: 2024-09-06 18:34:31 +0000 amd64: move the right parenthesis to the right place Reviewed by: imp, emaste Pull Request: https://github.com/freebsd/freebsd-src/pull/1356 --- sys/amd64/amd64/machdep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c index 025c3c365de5..f4b3b9702e00 100644 --- a/sys/amd64/amd64/machdep.c +++ b/sys/amd64/amd64/machdep.c @@ -1382,7 +1382,7 @@ hammer_time(u_int64_t modulep, u_int64_t physfree) */ for (x = 0; x < NGDT; x++) { if (x != GPROC0_SEL && x != (GPROC0_SEL + 1) && - x != GUSERLDT_SEL && x != (GUSERLDT_SEL) + 1) + x != GUSERLDT_SEL && x != (GUSERLDT_SEL + 1)) ssdtosd(&gdt_segs[x], &gdt[x]); } gdt_segs[GPROC0_SEL].ssd_base = (uintptr_t)&pc->pc_common_tss;