Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp4966062ioo; Tue, 31 May 2022 16:15:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyFmSixXYSgbCM5TSJD07AqTuO4JohNnNv9/Z7BrMf/tzafgCIlehcVyB7l3gM4rsoLL4QA X-Received: by 2002:a17:906:58d5:b0:702:db6f:dbf4 with SMTP id e21-20020a17090658d500b00702db6fdbf4mr3966972ejs.551.1654038908074; Tue, 31 May 2022 16:15:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654038908; cv=none; d=google.com; s=arc-20160816; b=ZuVcGc/BeQqb4Cxq02v23fLs4pugf3j9pYjcpce6YfGHgsaL3oJTvylhguLDokxecB PVbBCO1/drjmRbQZphsBuY5lMUN0tNYYoCospYY7bjztnQYG0YVKlU4BOEcthtlvz7UO U4qPocEELl4AguFLGCMMnUVe+p3PRdUELuVBANQrFanxVH8pwTkRMOibV4ArVcOWTaOz M35PbZLSsqv9H5EgXgqCYDJ6LTUtNdauX2VjmrA/rXslpeLZACnliAbAPHlhXO4c4Yiw BHZFRrA75nDZylO+YTARwMVlw9kVUYSvvBr3Y1VVPjOhRlFcGpwYluz8ZCvrEv96ruKm 3xGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Tqeh56MwCKAQqD5lEvr2lLRAypFwZalceRE/Lz3EVyM=; b=JxvstVZ0EQP/HVKosASLc6fi8rIy7nZLEwRouSUGnAuk62bEsC0YDgChqfC+Iio122 LYM5RD0OvcIX+qpVBTg+hoAE8omb9AgfiLub4eUIqYoYdTssCHIA6uD4ECIieQQXwYwP bIbppPT1PW2zPOEHQIja5ujCookq7eNuFrf2cfBAfjWNH6C5YtJXsrq3Dq/0domaWjiz 6HAf1KwzrtSXZRrx5zhxdxO13WKzCi44i9qUIVOSbSpffu+gNARCE7QeQ2U8dO4/ohgl Sy1GzTk+fpygEt0oOetaDe/oj2edoCkZt9FJ7gbO5V7SERCCVx3hYAM7+tH7iF44XY2l o+Qw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Qtx49yFT; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ot16-20020a170906ccd000b006f44d992450si194622ejb.11.2022.05.31.16.14.42; Tue, 31 May 2022 16:15:08 -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=@gmail.com header.s=20210112 header.b=Qtx49yFT; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243648AbiEaCrF (ORCPT + 99 others); Mon, 30 May 2022 22:47:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33882 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232746AbiEaCrE (ORCPT ); Mon, 30 May 2022 22:47:04 -0400 Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E9396393D6; Mon, 30 May 2022 19:47:02 -0700 (PDT) Received: by mail-wr1-x429.google.com with SMTP id h5so8698367wrb.0; Mon, 30 May 2022 19:47:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=Tqeh56MwCKAQqD5lEvr2lLRAypFwZalceRE/Lz3EVyM=; b=Qtx49yFTZR43x/hcfYEQGZNxgSkEJmE/c+koB8DxRQe1QC0SxDEdlr29I3gQmnSCXT r7cggj+XkDXNKUAOzJVMI4vrzd87iz9uqTCvnaCqQkMasYK5DFAYvmeVp33BLV1rZ4Jl /9QgwZpFtUOyv2P7NOd2m1nd9QPpNlZsWfax04RebsIqQvPwzznVyq4WtEw4aEL/HFo5 xcKVYvjBCYokPXLt4mT3wQZ7Z2UQF5pdVzPHTpqSvC4Emi0KXNAtO78pcsmhR4MjPlRI L5p4FYdsGYQJrkbyddhJBRD9lX1y5GYbdCq/T7zy2v0o2sT9xb2hy6ACr/BJgg+akcaP RlXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=Tqeh56MwCKAQqD5lEvr2lLRAypFwZalceRE/Lz3EVyM=; b=BE3TL5BbV+74awcBqUcpHUqCrorrwi7xiLeJAhH8j6VcxrCbznqdvuz86cKX4x6dvf wsBpguhe3PfXKNU6+EY0rERN0OiBI2XhfmmjYpo9pXmW1Do7NoDQmiZvmZkc3z9lU8P7 86GPabeC+9Oqv4XNKdEKuAqK2/3h4150WYNHtU7Gta+gM0FbjqxxtpTo04n1d8b2oEm/ LUz+q4ueb+fPDm0ELZyIUyaOKGVyNfzBS+QTGRauhMacxM51B9qLeHsqY8n+51LBI50I SUjgpkMWoDkHVkUhMQijiVSOyK58Oi9PZRfWi/iekZdg+MYBik3tGkw4LuFS256+3Dvc VwQA== X-Gm-Message-State: AOAM5330chN6Yy31O/MYrMeq0Jp5kE9D9WeeJVdaLkmjRcU5yePU62lw ZWIy3YOUmvI4+mBhHR3RfjA= X-Received: by 2002:adf:e7ca:0:b0:210:941:3363 with SMTP id e10-20020adfe7ca000000b0021009413363mr20049801wrn.25.1653965221405; Mon, 30 May 2022 19:47:01 -0700 (PDT) Received: from olivier-3493erg ([2a01:e34:ec42:fd70:8e84:c3a8:e5ed:7183]) by smtp.gmail.com with ESMTPSA id d17-20020a05600c4c1100b0039771fbffcasm779715wmp.21.2022.05.30.19.47.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 May 2022 19:47:00 -0700 (PDT) Date: Tue, 31 May 2022 04:46:58 +0200 From: Olivier dautricourt To: Jiapeng Chong Cc: sr@denx.de, vkoul@kernel.org, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, Abaci Robot Subject: Re: [PATCH v2] dmaengine: altera-msgdma: Fix kernel-doc Message-ID: References: <20220527074008.8458-1-jiapeng.chong@linux.alibaba.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220527074008.8458-1-jiapeng.chong@linux.alibaba.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,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: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 27, 2022 at 03:40:08PM +0800, Jiapeng Chong wrote: > 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. Acked-by: Olivier Dautricourt Thanks ! > > 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 >