Message ID | 20230410011306.26268-1-rdunlap@infradead.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1628999vqo; Sun, 9 Apr 2023 19:02:58 -0700 (PDT) X-Google-Smtp-Source: AKy350ZjOii0Qs8LgB1B2KQC/mFQlLx55O6f0Vl0zTzA9TOo9UzI0rLIMkspRrm44/+818esdK+B X-Received: by 2002:a17:903:1211:b0:1a1:cf70:33c0 with SMTP id l17-20020a170903121100b001a1cf7033c0mr12914750plh.33.1681092177742; Sun, 09 Apr 2023 19:02:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681092177; cv=none; d=google.com; s=arc-20160816; b=Tg9jVU2IqZFfVzVtcTrZvglFfBvjL6B31yAjNq9T+MHazeIFuVPcBjRNOXh3AM2CVv LxhHYQQn1osA7f8QgyfRUtcb7fL6BFYFIcb6/nsFDUOhGEmzVtqi274llCZ+mQ3awKnD CSGP0Ak3wApBbMGG+jWhMR65sHZIPqltpKOzTYcBiwDTE9tom2Fi1bkXG2rnzBXKIgDy +KKMdeercr1sCIRPcmeXNbGLiBqDXUE7EIrpunjMcgsmTKVa74NONxCFlsoJfmNeVnUG jkYIHuiuYJLKlxAdgKXlu2/nX8NDmPHGdn3GBKC8VoN6mmRrlnTkx/0vv0ysL+eR9lir 9fgg== 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=/Er8ywl5bE4dJ7WJe8NshHVWK4m5x+uPSc3wvx5Wahs=; b=WKfB2IMV00m3NvFh9xs2eCnR4ntPEMoowY6rcPO6IQcBW2gr2XAsFDvNFmgicNEgmW h56M8cz4OMDl1K0xDuuG2S7TdZ81E/gtVWyAkdmPnDExyr/x384DMiSWkOqFpnKvlZuU iD9NcaN2MAuT40PDxzRIpxM4qBS8AMTTPLO0mMQd0FQ1Ia8v51yKrHV+wtncRgI90YOe 1858rGaAlsoUcug4BzE4iHoU+PJ1xiKVy6ZLs8rFDQwsllGWWkuxoEYG0UNe5gTdlcnR u0jHscv+O7AL9OTGmAiddKvRH/PDbDudPDylqyB0iWofotRm1eTC4SxNZKdUYUjUOtGq 1XiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=32HUnOsb; 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 c4-20020a170902d90400b0019ac7319ecdsi3510277plz.409.2023.04.09.19.02.45; Sun, 09 Apr 2023 19:02:57 -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=32HUnOsb; 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 S229658AbjDJBNN (ORCPT <rfc822;yuanzuo1009@gmail.com> + 99 others); Sun, 9 Apr 2023 21:13:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39484 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229546AbjDJBNM (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sun, 9 Apr 2023 21:13:12 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 05A0535A8 for <linux-kernel@vger.kernel.org>; Sun, 9 Apr 2023 18:13:09 -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=/Er8ywl5bE4dJ7WJe8NshHVWK4m5x+uPSc3wvx5Wahs=; b=32HUnOsbmPEBVAWTjU/8ZNBGqK Yrc2xscmsV8yVDbVPamGfskG2LHaj9J9d2/OsyijKXBABFHH6Gt9A4OIZTFlKkGC8ceDCR+DROI7C SQdWAuxyksaUjYBbCwI1/bpK8MUcW9NNe9jYmaafnS6KmIf7gbPFTLCmWXW2/hRA1TXR460Ak73cS qKWq5wE3IWjVPvOt6XsjD3RBSfULGmAFxsqDTJyy5S0Qg0KAIE3Id7TJ16iutYoIiUR0KFJIQHZZv wd/xVu8tTJcPduQ1AZry2bqYPK1HdJ2+4y7UVyusO/IJ+4yJYjdVLSM/BToX1duW15BjM+clAFSsD 3+j+qMqQ==; 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 1plg5j-00EPc1-0I; Mon, 10 Apr 2023 01:13:07 +0000 From: Randy Dunlap <rdunlap@infradead.org> To: linux-kernel@vger.kernel.org Cc: Randy Dunlap <rdunlap@infradead.org>, Stefan Richter <stefanr@s5r6.in-berlin.de>, linux1394-devel@lists.sourceforge.net, Andrew Morton <akpm@linux-foundation.org>, Takashi Sakamoto <o-takashi@sakamocchi.jp> Subject: [PATCH v3] firewire: init_ohci1394_dma: use correct function names in comments Date: Sun, 9 Apr 2023 18:13:06 -0700 Message-Id: <20230410011306.26268-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.40.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE autolearn=unavailable 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?1762752911365473621?= X-GMAIL-MSGID: =?utf-8?q?1762752911365473621?= |
Series |
[v3] firewire: init_ohci1394_dma: use correct function names in comments
|
|
Commit Message
Randy Dunlap
April 10, 2023, 1:13 a.m. UTC
Prevent kernel-doc complaints by using the correct function names in
kernel-doc comments:
drivers/firewire/init_ohci1394_dma.c:258: warning: expecting prototype for debug_init_ohci1394_dma(). Prototype was for init_ohci1394_dma_on_all_controllers() instead
drivers/firewire/init_ohci1394_dma.c:289: warning: expecting prototype for setup_init_ohci1394_early(). Prototype was for setup_ohci1394_dma() instead
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Stefan Richter <stefanr@s5r6.in-berlin.de>
Cc: linux1394-devel@lists.sourceforge.net
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Takashi Sakamoto <o-takashi@sakamocchi.jp>
---
v2: rebase/resend, add note to Andrew
v3: add Takashi-san
drivers/firewire/init_ohci1394_dma.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Comments
On Sun, Apr 09, 2023 at 06:13:06PM -0700, Randy Dunlap wrote: > Prevent kernel-doc complaints by using the correct function names in > kernel-doc comments: > > drivers/firewire/init_ohci1394_dma.c:258: warning: expecting prototype for debug_init_ohci1394_dma(). Prototype was for init_ohci1394_dma_on_all_controllers() instead > drivers/firewire/init_ohci1394_dma.c:289: warning: expecting prototype for setup_init_ohci1394_early(). Prototype was for setup_ohci1394_dma() instead > > Signed-off-by: Randy Dunlap <rdunlap@infradead.org> > Cc: Stefan Richter <stefanr@s5r6.in-berlin.de> > Cc: linux1394-devel@lists.sourceforge.net > Cc: Andrew Morton <akpm@linux-foundation.org> > Cc: Takashi Sakamoto <o-takashi@sakamocchi.jp> > --- > v2: rebase/resend, add note to Andrew > v3: add Takashi-san > > drivers/firewire/init_ohci1394_dma.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Thank you to remind it to me. Acked-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> By the way, I got enough access permission to linux1394.git repository and I'm preparing it for maintenance work (not done yet). * https://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394.git/ After finishing the preparation (e.g. joining to linux-next integration), I'll apply your patch and tell it to you, within the week. > diff -- a/drivers/firewire/init_ohci1394_dma.c b/drivers/firewire/init_ohci1394_dma.c > --- a/drivers/firewire/init_ohci1394_dma.c > +++ b/drivers/firewire/init_ohci1394_dma.c > @@ -251,7 +251,7 @@ static inline void __init init_ohci1394_ > } > > /** > - * debug_init_ohci1394_dma - scan for OHCI1394 controllers and init DMA on them > + * init_ohci1394_dma_on_all_controllers - scan for OHCI1394 controllers and init DMA on them > * Scans the whole PCI space for OHCI1394 controllers and inits DMA on them > */ > void __init init_ohci1394_dma_on_all_controllers(void) > @@ -283,7 +283,7 @@ void __init init_ohci1394_dma_on_all_con > } > > /** > - * setup_init_ohci1394_early - enables early OHCI1394 DMA initialization > + * setup_ohci1394_dma - enables early OHCI1394 DMA initialization > */ > static int __init setup_ohci1394_dma(char *opt) > { Kind regards Takashi Sakamoto
On Sun, Apr 09, 2023 at 06:13:06PM -0700, Randy Dunlap wrote: > Prevent kernel-doc complaints by using the correct function names in > kernel-doc comments: > > drivers/firewire/init_ohci1394_dma.c:258: warning: expecting prototype for debug_init_ohci1394_dma(). Prototype was for init_ohci1394_dma_on_all_controllers() instead > drivers/firewire/init_ohci1394_dma.c:289: warning: expecting prototype for setup_init_ohci1394_early(). Prototype was for setup_ohci1394_dma() instead > > Signed-off-by: Randy Dunlap <rdunlap@infradead.org> > Cc: Stefan Richter <stefanr@s5r6.in-berlin.de> > Cc: linux1394-devel@lists.sourceforge.net > Cc: Andrew Morton <akpm@linux-foundation.org> > Cc: Takashi Sakamoto <o-takashi@sakamocchi.jp> > --- > v2: rebase/resend, add note to Andrew > v3: add Takashi-san > > drivers/firewire/init_ohci1394_dma.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) The patch is applied to for-next branch for v6.4 kernel: * https://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394.git/ You can see the patch in linux-next integration as well. Thanks for your patience Takashi Sakamoto
diff -- a/drivers/firewire/init_ohci1394_dma.c b/drivers/firewire/init_ohci1394_dma.c --- a/drivers/firewire/init_ohci1394_dma.c +++ b/drivers/firewire/init_ohci1394_dma.c @@ -251,7 +251,7 @@ static inline void __init init_ohci1394_ } /** - * debug_init_ohci1394_dma - scan for OHCI1394 controllers and init DMA on them + * init_ohci1394_dma_on_all_controllers - scan for OHCI1394 controllers and init DMA on them * Scans the whole PCI space for OHCI1394 controllers and inits DMA on them */ void __init init_ohci1394_dma_on_all_controllers(void) @@ -283,7 +283,7 @@ void __init init_ohci1394_dma_on_all_con } /** - * setup_init_ohci1394_early - enables early OHCI1394 DMA initialization + * setup_ohci1394_dma - enables early OHCI1394 DMA initialization */ static int __init setup_ohci1394_dma(char *opt) {