From nobody Fri Jul 24 23:30:47 2026 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 84102233941 for ; Wed, 22 Jul 2026 05:08:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784696886; cv=none; b=ahgceKVg0Gkj+IY7RQPOmp1kGxzvi7RBlMvpBceOkzEgLa6voU3PGN8r3mV05Y6HPzgD3IUVg1fFQfQgSbe5NI9KJoEJk5TmnSLiuySdiY+U/SEBgnSW9jQfnnHnt5ov8IeMv78IkXLj2l4HEzYnoM34sRyS5i9cWVifoiS0C/w= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784696886; c=relaxed/simple; bh=2aW5JWApa79iI2vgXBa51HGaBkX4F5SHu+JuOrTWkNY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=OEaQSD9VjcuNNIeSQc6m3721oKrk2y1faa5/wRRA50hjJ8IcWlX0CUTPzhrtW9JIKWdHqG68bdMM+x1Etyp9ZCO7XPeq0/xabwvbGC20d8oXOUcxHfByGHWF4J3EYDK8DmB42rnpdZ+Xt/oNx4bJ7W2pjPFQ6DkLO/12HrTMPEc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org; spf=pass smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=VrsKbny8; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="VrsKbny8" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=DAyIeSXT0I37vU1dwd0RT2t/K3FHCorMSnH2gOgvisI=; b=VrsKbny8YRUbgsQJX9k8vA0CfB oYYXPJ05HyDDJ9ncqdhDM/mNVyLD6zkDA2mc0ivkMDOelOtGv5bEyJEU921SRmo52a4zMS/vi2yeX zCV1AJUQyF6Q/KtfkjlfeU15hd1Us0iikviAHWf5T6ulsWPtUD70Iqyvp74xQ72VoB3O9H30wwuv/ Wo2hvN+zC45vKfYjoSNBpOhpcUeJGhcoOpWQNec/uuT//fl/hkAuLgst3pVOeA8k3/I4rQgYEQSgV REcYPaDNPvgjcTz2Yl/bThdLxcXW3GLhECUTIERQ+LyuE+Oynvo8dqkmhWQe4wyzzCmeiGQMaAec2 TRjnmhbQ==; Received: from [50.53.43.113] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.99.1 #2 (Red Hat Linux)) id 1wmPBX-0000000AuK8-2z0A; Wed, 22 Jul 2026 05:07:59 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Andrew Morton , "Peter Zijlstra (Intel)" , Thomas Gleixner Subject: [PATCH] rbtree: fixup kernel-doc names Date: Tue, 21 Jul 2026 22:07:59 -0700 Message-ID: <20260722050759.3892887-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.55.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Use the correct function parameter name in rb_next_match(). Use the struct keyword when describing struct latch_tree_ops. Prevents the following kernel-doc warnings: Warning: ./include/linux/rbtree.h:510 function parameter 'node' not described in 'rb_next_match' Warning: ./include/linux/rbtree.h:510 Excess function parameter 'tree' description in 'rb_next_match' Warning: ./include/linux/rbtree_latch.h:63 cannot understand function prototype: 'struct latch_tree_ops' Signed-off-by: Randy Dunlap --- Cc: Andrew Morton Cc: "Peter Zijlstra (Intel)" Cc: Thomas Gleixner include/linux/rbtree.h | 2 +- include/linux/rbtree_latch.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) --- linux-next-20260720.orig/include/linux/rbtree.h +++ linux-next-20260720/include/linux/rbtree.h @@ -500,7 +500,7 @@ rb_find_first(const void *key, const str /** * rb_next_match() - find the next @key in @tree * @key: key to match - * @tree: tree to search + * @node: tree to search * @cmp: operator defining node order * * Returns the next node matching @key, or NULL. --- linux-next-20260720.orig/include/linux/rbtree_latch.h +++ linux-next-20260720/include/linux/rbtree_latch.h @@ -47,7 +47,7 @@ struct latch_tree_root { }; =20 /** - * latch_tree_ops - operators to define the tree order + * struct latch_tree_ops - operators to define the tree order * @less: used for insertion; provides the (partial) order between two ele= ments. * @comp: used for lookups; provides the order between the search key and = an element. *