From nobody Fri Jun 16 08:15:38 2023 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 4QjBmq1M9nz4d8qS; Fri, 16 Jun 2023 08:15:39 +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 4QjBmq0mKnz4G4Q; Fri, 16 Jun 2023 08:15:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686903339; 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=RqBBGmvGBxS/oKSVinJvCb2srPAZKu0HJYWdhsoIKds=; b=YQvjtyCzdMM8SYMEHD+S21AXQLK4Tp74KWUIUBCAC4LZLzs+GtuoNJzAlt3VRvZQZ1VxQZ 4Cq/C87Y4BBWDIQK2r9OilUBpntOrrrJEudZ3WK2ZE6CDKKPBxyr79OSCDL50YeFjsEhUY PU09zXP33j3mladRDFAz3cQSJBsUJdn+Ya6NscMn5VfUb6vS3ILi6GXKPMaTdUT8iyyIOU JEVGGFU24DjdSIxQqs5O8YZW5eJkfg8EPpIU856tvY1Givqo30ymnsjJOnJeuBlN+28L/M jOYmbO7e6Irtiobfi3ixmfhLR5zAxr8QeIKifZKXC8/JpIwQYSg8hwYiswpUsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686903339; 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=RqBBGmvGBxS/oKSVinJvCb2srPAZKu0HJYWdhsoIKds=; b=lEKNbAZ3AYaJw0+LPdwsAuQsf606hY92MTEGyjFgiMJECQYaohXvgPjbs5MFrUUDHU/ga2 VhEPiI2xtuUIM+AVgMp+MG6uS5dpJ7ZJViAjU843Y3A4oXIz3IUSRdUo6VDuE4CRL5eIwy p1jtveQ8Z5CSliY8u0qnv01njXh+TPle2VajprotLWvgXqPapGW7OSb4rUHu1Q8/Uwtw4k /jHGtAtDQNDmqnGJI6AwEJDMFOjUVyPvtEiZSzeIL8pilgz4GWRIx63JX8EM+wFaeZXpW6 pCfMkpnNekoJ6Ny2HMRpstzQXfi5fBNnMEhWjIpuxHHW/L9b9xr0++DQg5RVMw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1686903339; a=rsa-sha256; cv=none; b=cEJI456nFP5LBLcRK7b57etYTgomH8BxkRtn+TTnYVVX+mPxho9h8/y14AcdD9PSM+9QsK +UC0F+h2u0sTUtH87j9QdQ0CA1FeD1K3NszSxdhJ+F4CBODKx0Br/IIGUvAkCsKfT6hySI SUyaFjZBznL8Sed8fDNDhw0pQWTow8OlQ13oUxy41TNk20Fox4z8BlpxS+rpA/udqVadzn XYTX49UFSNdszZDsYqL4A7oayWPXYOwhJa113HsSx1T5b6SE3u06JApeG8+Y+mA+LeI4+v gl3FX71TkfFGTOR8VkRH5n6zz5gGHbbRlE6cX/Gb+WciRWmGSDy/xWSSGGdvtw== 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 4QjBmp6wK6zLGV; Fri, 16 Jun 2023 08:15:38 +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 35G8FcIE033193; Fri, 16 Jun 2023 08:15:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35G8FcGS033192; Fri, 16 Jun 2023 08:15:38 GMT (envelope-from git) Date: Fri, 16 Jun 2023 08:15:38 GMT Message-Id: <202306160815.35G8FcGS033192@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: 58d427172157 - main - vm_phys: Fix typo in 9e8174289236 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: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@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: 58d427172157dedf82e46014e7d19cf973186dd9 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by alc: URL: https://cgit.FreeBSD.org/src/commit/?id=58d427172157dedf82e46014e7d19cf973186dd9 commit 58d427172157dedf82e46014e7d19cf973186dd9 Author: Alan Cox AuthorDate: 2023-06-16 08:12:42 +0000 Commit: Alan Cox CommitDate: 2023-06-16 08:12:42 +0000 vm_phys: Fix typo in 9e8174289236 --- sys/vm/vm_phys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/vm/vm_phys.c b/sys/vm/vm_phys.c index a0b53f0f7c4b..28f12231e01c 100644 --- a/sys/vm/vm_phys.c +++ b/sys/vm/vm_phys.c @@ -1246,7 +1246,7 @@ vm_phys_find_range(vm_page_t bounds[], int segind, int domain, struct vm_phys_seg *end_seg, *seg; KASSERT(npages > 0, ("npages is zero")); - KASSERT(domain >= 0 && domain < vm_ndomain, ("domain out of range")); + KASSERT(domain >= 0 && domain < vm_ndomains, ("domain out of range")); end_seg = &vm_phys_segs[vm_phys_nsegs]; for (seg = &vm_phys_segs[segind]; seg < end_seg; seg++) { if (seg->domain != domain)