Message ID | 20230703230005.14877-1-rdunlap@infradead.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9f45:0:b0:3ea:f831:8777 with SMTP id v5csp839494vqx; Mon, 3 Jul 2023 16:02:33 -0700 (PDT) X-Google-Smtp-Source: APBJJlF+zwK8zfzQ6nfpp8UVmdyczpYVsxW8FhzTLpWJ9rx8nqwJuDlU7+wD+34urJcgNY4W/z3x X-Received: by 2002:a17:90b:3d8f:b0:258:9621:913f with SMTP id pq15-20020a17090b3d8f00b002589621913fmr13500469pjb.3.1688425352878; Mon, 03 Jul 2023 16:02:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688425352; cv=none; d=google.com; s=arc-20160816; b=ZhXyf9xczC30Vi8AKFRjupScNqYSxmL+HWJb1AUizYKdOUDoxvy9K1ZhfsdVP4ZcIy dfn4PFf6hAv4AizygKjPjbJRKtHkxiojZjooMZMaNV8ueVsHKV0rNnJq76dPJK6UL8qZ owcy634S/+CyeVv3prTDPo0c3PqinJ5Q0GtR2X50SGkYlZ7OkTMjy2/CSUL1xDYOSpAC tPq0uuykhIB2J0MPKyN+zdc4Dd15ar66cr8sPszxnKLwTc6VRdf+ws3usl9lLJycnwSk OIs1+0eNUc2o6UcYbSwHiPX8kRpvRZ+pdmiatTFGtCs4Bypgl2NfyCc8vRvpep9GqMyQ DD4Q== 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=bxqKt58hvR1yu9IqldV+R5b5cGD0Xza3I0u2tbjL9Vw=; fh=pt05fYOtPndYmQExPkHQtgLx+wi66edxWgeWOlaQAHI=; b=vzw2U7ltt7go4Q0rzJ3PhbVecT+K7YTFQVcSb31bbCxPa01MmzNzUO8uGQLuoQ4XaB xRtPA3H4bWhRxzXiVjosrxZkQCipmzCQkg8hV0baiZkmD+6Zletc/k60lGZvTqD7//X1 aGnlF2DFY0q3B8Fe/7wuIEXl9k+36NcC/IJIldCmXbA5X6GHbq1bdhxUPv/e3sS6ykWY Yks7Ep5vfQhPh+gYw4QKcK83942jMsguQUg2YWqfIgvw7D09PN4pG1WUFR/wUc/D18wa Rmj9Z/2/+Q3HqG/NgjeH57FWnWGaTmld87JregY6Xz5K3qvDzTJ3EcoRJO6rY7y6n9WS kWDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=I96+baD6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w8-20020a63f508000000b00553a56f7b36si20587226pgh.522.2023.07.03.16.02.20; Mon, 03 Jul 2023 16:02:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=I96+baD6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230273AbjGCXAN (ORCPT <rfc822;ivan.orlov0322@gmail.com> + 99 others); Mon, 3 Jul 2023 19:00:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43194 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230259AbjGCXAL (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 3 Jul 2023 19:00:11 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1896510C1; Mon, 3 Jul 2023 16:00:07 -0700 (PDT) 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=bxqKt58hvR1yu9IqldV+R5b5cGD0Xza3I0u2tbjL9Vw=; b=I96+baD6s7h7h0ghpfeUope7Bb S1fK9QrqbLZTVyD1BZBOhA5EVwMY9RhRrHClHr94wiGyKJhXTZae7Z6/qdeMOUT9+OpHy+PaSX161 4Ld+mLzWBj13TH4wcBRleTPPCQsf6//Yuso10xD4b8UDMJywyZNnhoNfBQvDFApSogQUAcKpaOvss aGe9mTkeXHHDFxa9ZhM8dm69L70PnCRKnNXN8R+kjo+TTC/kHr45xYscXP2yFaZheOGWOctEgMNce guE8+Jq8Nabg48En20hYWyyNNLggYMfejkSSZ+7/ugT9j12Z6dAiaAstmvrumR/Gpx7tWAHLw2i23 BP0kij3A==; Received: from [2601:1c2:980:9ec0::2764] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1qGSWc-00BbO7-2A; Mon, 03 Jul 2023 23:00:06 +0000 From: Randy Dunlap <rdunlap@infradead.org> To: linux-kernel@vger.kernel.org Cc: Randy Dunlap <rdunlap@infradead.org>, Sebastian Reichel <sre@kernel.org>, Dmitry Torokhov <dmitry.torokhov@gmail.com>, linux-input@vger.kernel.org Subject: [PATCH RESEND] input: cpcap-pwrbutton: remove initial kernel-doc notation Date: Mon, 3 Jul 2023 16:00:05 -0700 Message-ID: <20230703230005.14877-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1770442302837127147?= X-GMAIL-MSGID: =?utf-8?q?1770442302837127147?= |
Series |
[RESEND] input: cpcap-pwrbutton: remove initial kernel-doc notation
|
|
Commit Message
Randy Dunlap
July 3, 2023, 11 p.m. UTC
Change the beginning "/**" in the file to "/*" since it is not a
kernel-doc comment. This prevents a kernel-doc warning:
drivers/input/misc/cpcap-pwrbutton.c:2: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
* CPCAP Power Button Input Driver
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Sebastian Reichel <sre@kernel.org>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: linux-input@vger.kernel.org
---
drivers/input/misc/cpcap-pwrbutton.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
Hi, On Mon, Jul 03, 2023 at 04:00:05PM -0700, Randy Dunlap wrote: > Change the beginning "/**" in the file to "/*" since it is not a > kernel-doc comment. This prevents a kernel-doc warning: > > drivers/input/misc/cpcap-pwrbutton.c:2: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst > * CPCAP Power Button Input Driver > > Signed-off-by: Randy Dunlap <rdunlap@infradead.org> > Cc: Sebastian Reichel <sre@kernel.org> > Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com> > Cc: linux-input@vger.kernel.org > --- Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.com> -- Sebastian > drivers/input/misc/cpcap-pwrbutton.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff -- a/drivers/input/misc/cpcap-pwrbutton.c b/drivers/input/misc/cpcap-pwrbutton.c > --- a/drivers/input/misc/cpcap-pwrbutton.c > +++ b/drivers/input/misc/cpcap-pwrbutton.c > @@ -1,4 +1,4 @@ > -/** > +/* > * CPCAP Power Button Input Driver > * > * Copyright (C) 2017 Sebastian Reichel <sre@kernel.org>
On Tue, Jul 04, 2023 at 02:08:21AM +0200, Sebastian Reichel wrote: > Hi, > > On Mon, Jul 03, 2023 at 04:00:05PM -0700, Randy Dunlap wrote: > > Change the beginning "/**" in the file to "/*" since it is not a > > kernel-doc comment. This prevents a kernel-doc warning: > > > > drivers/input/misc/cpcap-pwrbutton.c:2: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst > > * CPCAP Power Button Input Driver > > > > Signed-off-by: Randy Dunlap <rdunlap@infradead.org> > > Cc: Sebastian Reichel <sre@kernel.org> > > Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com> > > Cc: linux-input@vger.kernel.org > > --- > > Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.com> Applied, thank you. BTW, the driver is missing SPDX annotation, Sebastian I wonder if you could send a patch addressing this (given you are the author it is better coming from you). Thanks!
Hi, On Wed, Jul 05, 2023 at 12:28:50PM -0700, Dmitry Torokhov wrote: > On Tue, Jul 04, 2023 at 02:08:21AM +0200, Sebastian Reichel wrote: > > Hi, > > > > On Mon, Jul 03, 2023 at 04:00:05PM -0700, Randy Dunlap wrote: > > > Change the beginning "/**" in the file to "/*" since it is not a > > > kernel-doc comment. This prevents a kernel-doc warning: > > > > > > drivers/input/misc/cpcap-pwrbutton.c:2: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst > > > * CPCAP Power Button Input Driver > > > > > > Signed-off-by: Randy Dunlap <rdunlap@infradead.org> > > > Cc: Sebastian Reichel <sre@kernel.org> > > > Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com> > > > Cc: linux-input@vger.kernel.org > > > --- > > > > Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.com> > > Applied, thank you. > > BTW, the driver is missing SPDX annotation, Sebastian I wonder if you > could send a patch addressing this (given you are the author it is > better coming from you). DONE: https://lore.kernel.org/all/20230705212231.631525-1-sre@kernel.org/ -- Sebastian
On Wed, Jul 05, 2023 at 11:28:45PM +0200, Sebastian Reichel wrote: > Hi, > > On Wed, Jul 05, 2023 at 12:28:50PM -0700, Dmitry Torokhov wrote: > > On Tue, Jul 04, 2023 at 02:08:21AM +0200, Sebastian Reichel wrote: > > > Hi, > > > > > > On Mon, Jul 03, 2023 at 04:00:05PM -0700, Randy Dunlap wrote: > > > > Change the beginning "/**" in the file to "/*" since it is not a > > > > kernel-doc comment. This prevents a kernel-doc warning: > > > > > > > > drivers/input/misc/cpcap-pwrbutton.c:2: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst > > > > * CPCAP Power Button Input Driver > > > > > > > > Signed-off-by: Randy Dunlap <rdunlap@infradead.org> > > > > Cc: Sebastian Reichel <sre@kernel.org> > > > > Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com> > > > > Cc: linux-input@vger.kernel.org > > > > --- > > > > > > Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.com> > > > > Applied, thank you. > > > > BTW, the driver is missing SPDX annotation, Sebastian I wonder if you > > could send a patch addressing this (given you are the author it is > > better coming from you). > > DONE: https://lore.kernel.org/all/20230705212231.631525-1-sre@kernel.org/ Thank you, much appreciated.
diff -- a/drivers/input/misc/cpcap-pwrbutton.c b/drivers/input/misc/cpcap-pwrbutton.c --- a/drivers/input/misc/cpcap-pwrbutton.c +++ b/drivers/input/misc/cpcap-pwrbutton.c @@ -1,4 +1,4 @@ -/** +/* * CPCAP Power Button Input Driver * * Copyright (C) 2017 Sebastian Reichel <sre@kernel.org>