From nobody Tue Sep 03 13:16:45 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 4WymNt00gBz5PVd6; Tue, 03 Sep 2024 13:16:46 +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 4WymNs6XMRz4dnN; Tue, 3 Sep 2024 13:16:45 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725369405; 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=J7C0VzJSrDeC/ELz8HXwmzjKa/fl7K+X82vflZl7HeY=; b=lQNl+5SwFY9VniQ5N/2tvYk/3ua31aTZGRQmf4DjJCoLyIfnawrhx/+xHIJkr17tNbreqa oDPuDH539Z8w1kJy2fEtIf9lDYHaSpN8TrlCecKpFP7xvDc6VcM/Yrd20xoX7RGMvFyIF3 f6SGzCLdua48o/X9yvGuFyX6dScPQTSxtVsOUnIq/LuMgr/hGYd+Bn2wGPPLt9syozOUkz jjy8WCL09KU8YIC2E471RysFaP91ZETZhDnN8ESAwhZuQ/WF+gwCekjR0iayygxrP1b8KF BaWpSuUqmeaWu9PhXLuOBCE6G1NwojthiAqqHgmgfm/PzpvxZJbTcaiSLi2LAQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725369405; a=rsa-sha256; cv=none; b=ORSVx4G3fZNIWh6pVq7MxLWEgHiXJGTpix+iFw2aDE3kQ3p4Fk5ySy2qeJg0sYe+Wt+KzH ug7dsnIKkK576grXk7nnT9+eVNqpaJ9i9m7NCVQCN1zHVzFVmSQ1YStHhR6Tuq0SB72Ijb IHkgUD4/1uUJlUxi7YVjpq0SWtgoOi9iHCqhmtTmGMvNGnmEY7/Ot/YUC9ndfqFeRjBEGu pNOGylRin5ED+ghPt0NMdYBMDTO0WeyYiR39d6OMwJXVsvXF5ZIbJQRIRs9GOTQCcYeWa7 HMEeIqTtwE5DKIOWydQ7S+XLB5zp7PXr8vbYZtbHMR9qqpRsZL3xu8WPQwvaMQ== 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=1725369405; 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=J7C0VzJSrDeC/ELz8HXwmzjKa/fl7K+X82vflZl7HeY=; b=eb/n2OVd3oxAqv/bWflJgujLmz66lN5/wBOW6zBNL7StZg68dCvgJShFI68p5KPwBB0oGg HDVxrWHkGkf5SeyJIAPhrQol4smaGOHBRgff+f/ykW1lP2keK+UAnsXg5cyATi2z38nZFP X6NQ8C+UnECumE1PYRoliIBcH/Wm96dXVUx9HsTIM008/y2Nl0fWNrySxyaSZ6wOFv6xf5 583wtQvi19WeF1hHOkUTYWJ9Da34SxobUrdkMQWQnByxovllAwFiLio04XLgr+RBoN0S4E 3Dllir/wZQdXNR+yS7nLiSp5ZqISeGf9p+d1dveQZrT5QnumIxnf6vzXZB5dhA== 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 4WymNs67VQzjJ1; Tue, 3 Sep 2024 13:16:45 +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 483DGjEa000610; Tue, 3 Sep 2024 13:16:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 483DGjiq000607; Tue, 3 Sep 2024 13:16:45 GMT (envelope-from git) Date: Tue, 3 Sep 2024 13:16:45 GMT Message-Id: <202409031316.483DGjiq000607@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Olivier Certner Subject: git: ad4cf76ec4d4 - main - bitset: __BIT_FFS_AT(): Fix herald comment, take 2 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: olce X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ad4cf76ec4d4524381350e77b02b9abe24eb4b02 Auto-Submitted: auto-generated The branch main has been updated by olce: URL: https://cgit.FreeBSD.org/src/commit/?id=ad4cf76ec4d4524381350e77b02b9abe24eb4b02 commit ad4cf76ec4d4524381350e77b02b9abe24eb4b02 Author: Olivier Certner AuthorDate: 2024-09-03 10:08:49 +0000 Commit: Olivier Certner CommitDate: 2024-09-03 13:16:13 +0000 bitset: __BIT_FFS_AT(): Fix herald comment, take 2 Remove the reference to the nonexistent 'end' parameter. While here, rephrase a bit. I did the initial comment fix (commit "bitset: Fix __BIT_FFS_AT()'s herald comment", f3ab0d86e8070c73) as part of an experiment introducing macros to operate on ranges of bits in a bitset and subject to a predicate (a generalization of some code used in some pending modifications of the ULE scheduler), which was finally ditched as being too verbose and impractical to use. I however then forgot to remove the reference to 'end'. No functional change. Noted by: emaste Approved by: emaste (mentor) MFC after: 3 days MFC with: f3ab0d86e807 Sponsored by: The FreeBSD Foundation --- sys/sys/bitset.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sys/sys/bitset.h b/sys/sys/bitset.h index 2b26e8bcdbf9..d7e0b4cd7e41 100644 --- a/sys/sys/bitset.h +++ b/sys/sys/bitset.h @@ -232,9 +232,8 @@ } while (0) /* - * 'start' and 'end' are 0-based bit (runtime) indices. Note that, as for ffs(), - * the returned index is 1-based, 0 being reserved to indicate that no bits are - * set. + * 'start' is a 0-based bit index. By contrast, and as for ffs(), the returned + * index is 1-based, 0 being reserved to indicate that no bits are set. */ #define __BIT_FFS_AT(_s, p, start) __extension__ ({ \ __size_t __i; \