Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp1392648ioo; Fri, 27 May 2022 07:48:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzbnsLlUU2BAceTIVUHf/AsQVwFIxbWFvM6Gxb+6xxbbogRES4+twR4YkUFVE7oKelsvNtA X-Received: by 2002:a17:902:8d87:b0:162:da7:e3d6 with SMTP id v7-20020a1709028d8700b001620da7e3d6mr30564162plo.44.1653662909550; Fri, 27 May 2022 07:48:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653662909; cv=none; d=google.com; s=arc-20160816; b=xjxCBhD1uXotnthgzzoVU05pxw2u7Xfb4t24M5+naH4L/qIMZEXGMmPSHybFD27bMh QnKUl4+Cv2wAfw1pYuYFNVGazr119rhm4dMOXMgnFhk3gPJyuosFOGQMgm4AG2dqo6xR 61WMkVNMg86D09vCIKNsPeQ+Ib7jcCw9N5cn88Y6OVyM2oObKPcijv2PsOS+JYSjB3pE IWvFJywLJhpH7ZwhC168BavE1R9sZKAP6hz3eIk52e3YaqekPaDOuE6MeieR8Sk1RM/P gXZHbcp07VOMVDfJj0OeJSMC5tb1AeSbxqPWK/OclVoGIU1MVVBl7GMxBBZAAH3eDsZb eaMA== 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; bh=V2XQ2pdkCh1p4j8VQJw5hGPU8RoeQqFWPp17hTLzvno=; b=q9InOFa3mXVZBs1LBkF+QFWCkDu4LPYt9RLQgTKMH5mCX4468ZNr8kFhpktqwM2nA8 e/vuef5uHvGa4kEeXd09F7rG1k1dUoj9Mpi35arxc5CzfynlThE0sGBSVWwoFXtryQkY SnXExDJWB4G8fxmB3WMCr0e/QqIIgcn7KvRXdYtIlWKAWTGunxm+tmtcbf9HUjQEX0L5 VyqRBnXRySEfT3hU5oewSMA9KKCHigEINtUeK+oU2Cmm8OaWQ1+iOxaENzZrZqGJjKww nZSArlA8K9Qvoh4EnUVxcrXDiWhPBr12XeLQ6ojQPrqeVY1M126GLGEO2+er+o763gEF dmCg== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j3-20020a655583000000b003c640602c91si6857190pgs.266.2022.05.27.07.48.14; Fri, 27 May 2022 07:48:29 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235017AbiE0Hkl (ORCPT + 99 others); Fri, 27 May 2022 03:40:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38870 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232238AbiE0Hkk (ORCPT ); Fri, 27 May 2022 03:40:40 -0400 Received: from out30-42.freemail.mail.aliyun.com (out30-42.freemail.mail.aliyun.com [115.124.30.42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 87BFAF7495; Fri, 27 May 2022 00:40:38 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R571e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=alimailimapcm10staff010182156082;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=7;SR=0;TI=SMTPD_---0VEW88T-_1653637234; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0VEW88T-_1653637234) by smtp.aliyun-inc.com(127.0.0.1); Fri, 27 May 2022 15:40:35 +0800 From: Jiapeng Chong To: olivierdautricourt@gmail.com Cc: sr@denx.de, vkoul@kernel.org, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, Jiapeng Chong , Abaci Robot Subject: [PATCH v2] dmaengine: altera-msgdma: Fix kernel-doc Date: Fri, 27 May 2022 15:40:08 +0800 Message-Id: <20220527074008.8458-1-jiapeng.chong@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,USER_IN_DEF_SPF_WL 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: X-Mailing-List: linux-kernel@vger.kernel.org Fix the following W=1 kernel warnings: drivers/dma/altera-msgdma.c:927: warning: expecting prototype for msgdma_dma_remove(). Prototype was for msgdma_remove() instead. drivers/dma/altera-msgdma.c:758: warning: expecting prototype for msgdma_chan_remove(). Prototype was for msgdma_dev_remove() instead. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- Changes in v2: -Make the commit message more clearer,replace msgdma_remove() with msgdma_dma_remove() in doc. drivers/dma/altera-msgdma.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/dma/altera-msgdma.c b/drivers/dma/altera-msgdma.c index 6f56dfd375e3..4153c2edb049 100644 --- a/drivers/dma/altera-msgdma.c +++ b/drivers/dma/altera-msgdma.c @@ -749,7 +749,7 @@ static irqreturn_t msgdma_irq_handler(int irq, void *data) } /** - * msgdma_chan_remove - Channel remove function + * msgdma_dev_remove() - Device remove function * @mdev: Pointer to the Altera mSGDMA device structure */ static void msgdma_dev_remove(struct msgdma_device *mdev) @@ -918,7 +918,7 @@ static int msgdma_probe(struct platform_device *pdev) } /** - * msgdma_dma_remove - Driver remove function + * msgdma_remove() - Driver remove function * @pdev: Pointer to the platform_device structure * * Return: Always '0' -- 2.20.1.7.g153144c