From nobody Fri Oct 4 08:45:44 2024 X-Original-To: dev-commits-src-branches@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 4XKhvs2D9Pz5Y9B2; Fri, 04 Oct 2024 08:45:45 +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 4XKhvs119Sz48Yd; Fri, 4 Oct 2024 08:45:45 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728031545; 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=RBkk5q61hn7qE3aT5YtL6o0hYLw71Tg4JvS+pHbN9yg=; b=jUpR0qq8yrHVGR0rDe9S7mdOkmjNez+2kOcljGsAg2N8AxuuGhYOAbbFQQOBDjswcSXg/I IT+7ukBirf6uXT3Paqc9OBn71OxJU1lF94rBMbzPKRYU3fOJy72HNvMMM6bRBL1IQ1i0Tn QMwpd++nkozfX6OgzTzcL1UCaOrSNZAZSOSyglkrjwPAUh2OQ7rdM+xUm2SyqzMSTl2iru N/gCZANK8wP+k/DH+JH4P0uV9tPnF+pNxSzcVO/PozwoMjfTL9YyRTzsIzmataG7yNbK0h V09GJ7ny3L/Z2c6dfeILVpXQpjdz7asG8iE7bUA0rsBM/KwIpDvLS8wva+W4ig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728031545; 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=RBkk5q61hn7qE3aT5YtL6o0hYLw71Tg4JvS+pHbN9yg=; b=Ci/irX9XKeQSaNQuQVCc7pyd5Vl83i1eU2lsUL+sc2DaB/9zbGYq4U82rRBHXIv+58TCMt JmGNhuI3WLIicCdkEfbicSGu1tltz4zzoLmzKwUmhkI7BL5X2NNAum72hSjLP6/IAInlU3 58BKXoT6MIVc3TiFJ+IJEwX+EG29xlNatADv6vNCQXV14wX+/dYlZA/F/TC3gcHTPSct8k zKgWCEReiwq4rL8u/NlJD9tV/1gQe+6XYzMwtUu0ADoEWT34UR0EkSp38y5XXQuTWhXoib ayQLrPheGlcpANklRkT3Q55hfyxpP6xEmP30a7Cv6r1BdNndN3ezT13L7krsRQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1728031545; a=rsa-sha256; cv=none; b=cPa1yGCH5l6mqmMWucOAFyMHlRMlL90dih+1w2iXaSUEH/QIspgeKwz8ibvN4DogR5KVqU oi/2i4RJRV5Qe29/erOs3/rvQTGCO0eR2X6BPMSTJeKKRflGp7Ii4r7m9BJ9ECkM0X400g za0g1wVTrhFK9TT8s2SRYyyG8JERHw8fgcGRVD+jsetUpij9PBKVLRzuVixJfdJohexuR2 R9TYXdu7zuAHoY7DHmIqLGlu7czrDZ6HmEFN4hBzgMlsXuoTVCW6pI4fMUvsSJsRrqtkVn Ebx8ZuCRkxrCvtc6NfXtBXqEbyL45n+wDcKSbLHPhD0ePfG7k6xmgU1d+mJI4w== 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 4XKhvs0HYxzSDb; Fri, 4 Oct 2024 08:45: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 4948jiuq021045; Fri, 4 Oct 2024 08:45:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4948jiNo021042; Fri, 4 Oct 2024 08:45:44 GMT (envelope-from git) Date: Fri, 4 Oct 2024 08:45:44 GMT Message-Id: <202410040845.4948jiNo021042@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Olivier Certner Subject: git: a257beee44ab - stable/14 - bitset: __BIT_FFS_AT(): Fix herald comment, take 2 List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@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/stable/14 X-Git-Reftype: branch X-Git-Commit: a257beee44abaffac0cc087d8492499740359922 Auto-Submitted: auto-generated The branch stable/14 has been updated by olce: URL: https://cgit.FreeBSD.org/src/commit/?id=a257beee44abaffac0cc087d8492499740359922 commit a257beee44abaffac0cc087d8492499740359922 Author: Olivier Certner AuthorDate: 2024-09-03 10:08:49 +0000 Commit: Olivier Certner CommitDate: 2024-10-04 08:42:46 +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 (cherry picked from commit ad4cf76ec4d4524381350e77b02b9abe24eb4b02) Approved by: emaste (mentor) --- 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; \