Message ID | 20231206030523.302-1-rdunlap@infradead.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp3851779vqy; Tue, 5 Dec 2023 19:05:34 -0800 (PST) X-Google-Smtp-Source: AGHT+IHwsOOuvKHsZDEXWgiWQDDz+xdDyE3lr7JS99+2dCDdzR2ODpqu81156KxfOyLJnsJR5Hfx X-Received: by 2002:a05:6358:3102:b0:16e:271d:1db7 with SMTP id c2-20020a056358310200b0016e271d1db7mr379277rwe.2.1701831933954; Tue, 05 Dec 2023 19:05:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701831933; cv=none; d=google.com; s=arc-20160816; b=0uoUL61AOJcauU4pHEh/TMAW/IzM6jep4Q3zufmVmDntBluIqKoSllqG5ux8/KeDXU ENKV5ZPDPYk1DDSKjj0nG9vFXUnX7CYAFQXR0JDsLctkEZB91cIKoyhK4UytloDlCQCl SuxQTG1pctOLCHpn2tgO/eF0UrjufvIH69uoTXYatn/JcWVeLh0SsmdW9z6TcjBWJqHn SqqLJYkSw0SMuyeYMzdGkFOEjqaK7Ke+dR4QDPFlZ9TR8ZVj6TTE0iFaeaiE642pIzjb kE3XjETInlGFyzDdgHB0MDc3k8VTJrIOPgHu0lnoeqDuzhWMhXEX1QdfkL76MESwGtOV W5Xw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=tCDaEFASEaOM0xCnH4GzWPewdM5mMFU6qA94jFCl3Wk=; fh=OUVCXmRELIsFKQMHkX0m7iwCz94efHtjK9XkipuvETY=; b=DMxblQprBuAy8Lmg09WiBAxTUJaA6lB1CakBlxSsNYIBCwfe7vCEh4hQqTVgDMmo0i RDmTr6pXcF5whavH9hW8hefy/wILSZD9yDFvJzS7+nIZsqhLLFIoLI4wUVSt54L2+HFv H6LqdJHUmdsyt1l1U/nkMtJTA52WzW+ef/DRkzMneC0NbUYa8BMTsvRyQpbTaodc/KWX dEOv9BSvi7cFakSdDZBxp76cFFC3lWjTsWjy++uojD2vyPZsY/zend3BlidoeJdcEiTe vp3eygVctYS+7BodJGex7p9OonqP71gsSRqfU6vYoloyZ1yHDQs8KzCS0XYWF64wT59a cJxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=W+IumrHh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id t9-20020a17090aba8900b00285a0b546eesi1813012pjr.155.2023.12.05.19.05.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Dec 2023 19:05:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=W+IumrHh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 0C43380238A4; Tue, 5 Dec 2023 19:05:27 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229920AbjLFDFS (ORCPT <rfc822;chrisfriedt@gmail.com> + 99 others); Tue, 5 Dec 2023 22:05:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54174 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229493AbjLFDFR (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 5 Dec 2023 22:05:17 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4E6C31AA; Tue, 5 Dec 2023 19:05:24 -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=tCDaEFASEaOM0xCnH4GzWPewdM5mMFU6qA94jFCl3Wk=; b=W+IumrHhlp4WIUBpIpxh4HMWIa NMKWZOmrhl4rGxxkvHVzHJRHB3f8/1caKxSntLEuEmki1LgjTU+jZ7xuDC7ruVnK94v81Jt3kmy1W sawTOVM5UZbC0n5O3c35VUvOeeJ/96CCCjyDzY7uhYMUGn2PF0yKGaMClw2gmhsL68U6z0ivTDli9 FLjYhLH+w9dMLpPzBsGaYigiCRGZjdA+eUaYbf/OEPPg75cemIfWrlTzdIjZREwymcpA04BakODbE J8fOgGi1JUItV3650Dbal18mN7mwuzRl+XnaxTIisZXcN0GWcjRdph5Qks6k50MWUHO0LvUMxcVNi Pa3i4yLg==; Received: from [50.53.46.231] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1rAiDz-008vhk-2a; Wed, 06 Dec 2023 03:05:23 +0000 From: Randy Dunlap <rdunlap@infradead.org> To: linux-kernel@vger.kernel.org Cc: Linus Walleij <linus.walleij@linaro.org>, Bartosz Golaszewski <brgl@bgdev.pl>, Andy Shevchenko <andy@kernel.org>, linux-gpio@vger.kernel.org, Randy Dunlap <rdunlap@infradead.org> Subject: [PATCH] gpio: max730x: don't use kernel-doc marker for regular comment Date: Tue, 5 Dec 2023 19:05:23 -0800 Message-ID: <20231206030523.302-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Tue, 05 Dec 2023 19:05:27 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784500121677336212 X-GMAIL-MSGID: 1784500121677336212 |
Series |
gpio: max730x: don't use kernel-doc marker for regular comment
|
|
Commit Message
Randy Dunlap
Dec. 6, 2023, 3:05 a.m. UTC
Use a common C comment (/*) instead of kernel-doc notation to prevent
warnings from scripts/kernel-doc.
gpio-max730x.c:3: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
gpio-max730x.c:3: warning: missing initial short description on line:
* Copyright (C) 2006 Juergen Beisert, Pengutronix
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
drivers/gpio/gpio-max730x.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On Wed, Dec 6, 2023 at 4:05 AM Randy Dunlap <rdunlap@infradead.org> wrote: > > Use a common C comment (/*) instead of kernel-doc notation to prevent > warnings from scripts/kernel-doc. > > gpio-max730x.c:3: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst > gpio-max730x.c:3: warning: missing initial short description on line: > * Copyright (C) 2006 Juergen Beisert, Pengutronix > > Signed-off-by: Randy Dunlap <rdunlap@infradead.org> > --- > drivers/gpio/gpio-max730x.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff -- a/drivers/gpio/gpio-max730x.c b/drivers/gpio/gpio-max730x.c > --- a/drivers/gpio/gpio-max730x.c > +++ b/drivers/gpio/gpio-max730x.c > @@ -1,5 +1,5 @@ > // SPDX-License-Identifier: GPL-2.0-only > -/** > +/* > * Copyright (C) 2006 Juergen Beisert, Pengutronix > * Copyright (C) 2008 Guennadi Liakhovetski, Pengutronix > * Copyright (C) 2009 Wolfram Sang, Pengutronix Applied, thanks! Bart
diff -- a/drivers/gpio/gpio-max730x.c b/drivers/gpio/gpio-max730x.c --- a/drivers/gpio/gpio-max730x.c +++ b/drivers/gpio/gpio-max730x.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0-only -/** +/* * Copyright (C) 2006 Juergen Beisert, Pengutronix * Copyright (C) 2008 Guennadi Liakhovetski, Pengutronix * Copyright (C) 2009 Wolfram Sang, Pengutronix