From nobody Tue Sep 16 13:48:10 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 135F3C3DA7A for ; Mon, 2 Jan 2023 21:18:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232720AbjABVSf (ORCPT ); Mon, 2 Jan 2023 16:18:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60048 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231314AbjABVSc (ORCPT ); Mon, 2 Jan 2023 16:18:32 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 400EDA459 for ; Mon, 2 Jan 2023 13:18:32 -0800 (PST) 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=eIJ71EhbsqRhJUGU4fUu+NShCuoIP64RjPYjklH6uCQ=; b=LHB6EmdsyfdaXlmLxgYuvXWGqB Bgcs2WLc1cdHHY3N2X36233j4iQe646ZIvL89XP+MzxPexY7MXcMw3mzFw+OeXT1nS4ZA1XEN7Ga7 YMMe3mMDbmTE8NerYUmkuO0O5QlUSXghjdxZcsczNAOvXQ1+LsTyGmCZGK7zh2Xt22hxH2XMeGHFm ucuNCkBEnpUJsERcoIirTBWspbmZsZ0v4Uh5MDk8xHGve+gyT4dYyf/c2Mr+Pm3WYCzxRRO6UTkCF wNarQ15Sv7ImkcyiYJe0u5OhFQfYZpZ/koLg9NJZK733krhT/oA2dTSvyXJGSvxZnZYebqMwOqN6E uaqKhdnQ==; Received: from [2601:1c2:d80:3110::a2e7] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1pCSCV-00EJ8G-0A; Mon, 02 Jan 2023 21:18:31 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Yury Norov , Andy Shevchenko , Rasmus Villemoes , Randy Dunlap Subject: [PATCH] cpumask: fix function description kernel-doc notation Date: Mon, 2 Jan 2023 13:18:30 -0800 Message-Id: <20230102211830.2674-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Use kernel-doc notation for the function description to prevent a warning: lib/cpumask.c:160: warning: This comment starts with '/**', but isn't a ker= nel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst * Returns an arbitrary cpu within srcp1 & srcp2. Signed-off-by: Randy Dunlap Reviewed-by: Andy Shevchenko --- lib/cpumask.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -- a/lib/cpumask.c b/lib/cpumask.c --- a/lib/cpumask.c +++ b/lib/cpumask.c @@ -157,7 +157,7 @@ EXPORT_SYMBOL(cpumask_local_spread); static DEFINE_PER_CPU(int, distribute_cpu_mask_prev); =20 /** - * Returns an arbitrary cpu within srcp1 & srcp2. + * cpumask_any_and_distribute - Return an arbitrary cpu within srcp1 & src= p2. * * Iterated calls using the same srcp1 and srcp2 will be distributed within * their intersection.