From nobody Mon Oct 21 02:47:32 2024 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 4XX08h3GLZz5b5hW; Mon, 21 Oct 2024 02:47:32 +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 4XX08h2lQFz422C; Mon, 21 Oct 2024 02:47:32 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729478852; 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=OX6M6p26yEsApvLkjkzNx0Qw87rnr1lim5mIoF+v6M4=; b=yChKD23vR55ew2pClxkEydrO349yqYsoY0BnNdDlWw05TdupN3Z9c3QsjNuqvjxFiuXxCR TEmxDWhnIu9/qFk3vEFNNNsb5itP2+Z1CaFV5lYz4dmZLMQScJaf6ZvG3rYKD3zbrnIIt+ p2ES9wQaBsPDtJsFW+Okw5aQEkOyYTauoBVlnMd4SyxMMG6xam1dVc6yEjdxCtf6R55KUG EVx0nBHebEMiX/SDrSlrNxxhn8wguM3hzAPs1nnqgN9QP7T0tahXSjElLr3vKxCqcHPMxM y2IRbZDKX6+TMmoFRfw8M0FKOzmMA6IWY54Nwb9PN2/8UJ2rQxNQXQq/1H7y+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729478852; 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=OX6M6p26yEsApvLkjkzNx0Qw87rnr1lim5mIoF+v6M4=; b=TYN0+HuQ1UKzrGPbDowynu0QwiumJde1JzATw43rr1E5pRiM6xcbJLLRHQaEpw0sYGMUQ7 F3ohrpsm1doDfKfQIAbNnXSD1V4wWbrH8oDgKV7QaYVEaYvcZ4uvJjWKE7laKcTZNkgg2u GO8+caMgtaxLIfWqdO2dryj4HlS8YGiHiTrjR/cFsioRmfA8v2mcvaXWBaI6aMRD4wtMz1 T0cgSCcvpNO2TOtnaOVNbqzzj0kFzhkQs4dAXo/QwOfk9X/Op/WMrWaIwjgDknFUcoLNBK otaNL2M4lpWnGPcYqbFqjO8mRVzYPeZ3Fqp/OBH239xva9yj3c2kdUUrjqYhCg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729478852; a=rsa-sha256; cv=none; b=EBYKlsTDJYAXbns3XkudDvUr4yPr557Nneo8PxJN2kDo2Tg23H5d2qHRP4tY19eORtNRIC wqUNDHBKOlc6cc/o1EG8mZhApD+5RzrxzV4utUIsXyVzKYNELa2VPv/qYgVXm7hC3UV6zv YCLP6QSwtD3ypatpxRWTYvJJVLXPgskXoUH4CE6sit53jPaGb0b6XCYNvhj5Jjq4sw7MIx Cl0sEod0IZLVKsBe4DQt4s9qSPZjP7hISQ0jDg4M6Eqfktelh9CJC8Sw5C7r+wF83FFMnP QewH6fRxa9NwEZ3T/5lDRybSE5hozaZXK01pTSNH6zI40f0jkOPEQH7NRXxk2A== 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 4XX08h2Cb1z1RMb; Mon, 21 Oct 2024 02:47:32 +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 49L2lWaa067226; Mon, 21 Oct 2024 02:47:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49L2lWft067223; Mon, 21 Oct 2024 02:47:32 GMT (envelope-from git) Date: Mon, 21 Oct 2024 02:47:32 GMT Message-Id: <202410210247.49L2lWft067223@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Doug Moore Subject: git: d2d0d6cb47c8 - main - subr_pctrie: fix a comment 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dougm X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d2d0d6cb47c8568f34fff83477284dd3365b6298 Auto-Submitted: auto-generated The branch main has been updated by dougm: URL: https://cgit.FreeBSD.org/src/commit/?id=d2d0d6cb47c8568f34fff83477284dd3365b6298 commit d2d0d6cb47c8568f34fff83477284dd3365b6298 Author: Doug Moore AuthorDate: 2024-10-21 02:46:30 +0000 Commit: Doug Moore CommitDate: 2024-10-21 02:46:30 +0000 subr_pctrie: fix a comment A comment used least > instead of greatest <. Fix it. --- sys/kern/subr_pctrie.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/kern/subr_pctrie.c b/sys/kern/subr_pctrie.c index 50216287845f..ea1c1cf881d2 100644 --- a/sys/kern/subr_pctrie.c +++ b/sys/kern/subr_pctrie.c @@ -958,7 +958,7 @@ pctrie_iter_lookup_le(struct pctrie_iter *it, uint64_t index) /* * If no such node was found, and instead this path leads only to nodes - * > index, back up to find a subtrie with the least value > index. + * > index, back up to find a subtrie with the greatest value < index. */ if (pctrie_isleaf(node) ? (m = pctrie_toval(node)) == NULL || *m > index :