Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp2213304imw; Wed, 6 Jul 2022 01:59:50 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uJvHxaLZTPFLM4v1gia539e8+0Erc9dY/8qoR5b5y9a1dxpb2bS7AjsXiy2NHADdes3Vjq X-Received: by 2002:a17:90b:4a47:b0:1ef:bc34:406a with SMTP id lb7-20020a17090b4a4700b001efbc34406amr386150pjb.33.1657097990170; Wed, 06 Jul 2022 01:59:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657097990; cv=none; d=google.com; s=arc-20160816; b=NnLLhEB4U6J8duRWiLy6OqtYr4fYqeB5KSrObInR58/qGDify9u2RGaenoLH6laWwD aPJIt+F9qOFRe8QpZqRKW8cOWkECYwp+IpCy+YlxoN/yfIFtj2DoUk4O13sgpWPg+j3w 7J9Q0W6MnSnZcB12pbHRQo2z7zU+DigBY671Gis1/g/pViV5zGBxvEnCC21CNvkXwVQy M6BQrjmUjOaulWPIPeYJV51/4WR12uSu1bEWXuZcG9VprEizN/MmWq8HbCg/v+CsVUBZ wm2wVh9tfKLewCnoZyG7ZA1KtGUHL4HTLiCzBltNfJpShq1S12yltfgQpmhrT6q4e9wn 7pwA== 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=kFG9PZFqVJZJbZW9hh4wSLmOpl5kQg8XNQF2nldY7ek=; b=i83QegH+zBPjxhLz/aJX5APL/UsVrLc7RNJJhuNFgcYGSIXUXXXgW8MWuOg+vJ/8Rt K+zjYs2YA0hp11eCFpYO39QZlDVZN+HBN7BaUzf5Q4CJwqMsFttqXpD2oCawV1vrOv8N JPnUnbEEo1gT0WsBAOtp8pyZ0BEfIhhxJqNQDT0ZIsT250tMyELvdshwBUzHA1/hIUNm BEDsUa2IPamAaD726WggLcKCrerCT3XIzH5mAv69RRUQppo+lhSz0/Cv5AZpNEkwznyF szmjv2mPyjiGK9YSoBdGFATclVka7ojuMQ+Jq83PaXZ+asaEgyvZ87uJAM2smNz/uMZb wGwA== 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 66-20020a630245000000b00412607ef1d1si3855943pgc.440.2022.07.06.01.59.38; Wed, 06 Jul 2022 01:59:50 -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 S232157AbiGFI1w (ORCPT + 99 others); Wed, 6 Jul 2022 04:27:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36032 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232300AbiGFI1W (ORCPT ); Wed, 6 Jul 2022 04:27:22 -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 6924624962; Wed, 6 Jul 2022 01:26:21 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R161e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046060;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=6;SR=0;TI=SMTPD_---0VIXSr0B_1657095968; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0VIXSr0B_1657095968) by smtp.aliyun-inc.com; Wed, 06 Jul 2022 16:26:17 +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 Subject: [PATCH v3] dmaengine: altera-msgdma: Fixed some inconsistent function name descriptions Date: Wed, 6 Jul 2022 16:26:05 +0800 Message-Id: <20220706082605.114907-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 Inconsistent function names describing msgdma_chan_remove() and msgdma_dma_remove are modified to msgdma_dev_remove() and msgdma_remove(). Remove some warnings found by running scripts/kernel-doc, which is caused by using 'make W=1'. 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. Signed-off-by: Jiapeng Chong --- Changes in v3: -Modified the commit title and message. 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