From patchwork Tue Feb 14 01:03:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Li X-Patchwork-Id: 13139247 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2771AC636CC for ; Tue, 14 Feb 2023 01:05:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=EeKPVvGRUOZLEgvwXweHBzvJ+VgQnQt2IQKTYN4qtrU=; b=xJF/JueBM4ksNI NRuHGDIwSA5iURyioDPIUB8EqophhM5dtmw0ghlUmAQh5FFFspVDhKifWfqOWCwzRgKWjMXNmAD/6 Yfo9c//eSZBC4JB8VMC4KuePAAb8VIYClymFQTbWK5OPxipNAO5gGrLWMU1RIlR5KEzB4D084Hrz2 ghkBYf/4VxkJCpla9012LJbd/R+m85IqjcTDLJftVwuPwW8TXWIV9yfhSeVnc5fwQaKGmJS7sMmuJ ivl7FPzbujKAioQQ6DMbZQLxocKnOam8jGFZx9DcUvntWb8PE818whOONKYiBAo9gcTwC9H0ITquT 7wpx/fjulFTJi24XIlpg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pRjjj-00GxkR-Gk; Tue, 14 Feb 2023 01:03:59 +0000 Received: from out30-99.freemail.mail.aliyun.com ([115.124.30.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pRjje-00GxZs-Pp for linux-arm-kernel@lists.infradead.org; Tue, 14 Feb 2023 01:03:57 +0000 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R911e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046050;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=10;SR=0;TI=SMTPD_---0VbdJ5kt_1676336625; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0VbdJ5kt_1676336625) by smtp.aliyun-inc.com; Tue, 14 Feb 2023 09:03:46 +0800 From: Yang Li To: vkoul@kernel.org Cc: michal.simek@xilinx.com, lizhi.hou@amd.com, brian.xu@amd.com, raj.kumar.rampelli@amd.com, dmaengine@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Yang Li , Abaci Robot Subject: [PATCH -next] dmaengine: xilinx: xdma: Fix some kernel-doc comments Date: Tue, 14 Feb 2023 09:03:44 +0800 Message-Id: <20230214010344.5354-1-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230213_170355_048552_A3CA11FC X-CRM114-Status: UNSURE ( 7.88 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Make the description of @xdma_chan to @xchan to silence the warnings: drivers/dma/xilinx/xdma.c:283: warning: Function parameter or member 'xchan' not described in 'xdma_xfer_start' drivers/dma/xilinx/xdma.c:283: warning: Excess function parameter 'xdma_chan' description in 'xdma_xfer_start' Reported-by: Abaci Robot Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=4051 Signed-off-by: Yang Li Acked-by: Peter Korsgaard --- drivers/dma/xilinx/xdma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/xilinx/xdma.c b/drivers/dma/xilinx/xdma.c index 462109c61653..93ee298d52b8 100644 --- a/drivers/dma/xilinx/xdma.c +++ b/drivers/dma/xilinx/xdma.c @@ -277,7 +277,7 @@ xdma_alloc_desc(struct xdma_chan *chan, u32 desc_num) /** * xdma_xfer_start - Start DMA transfer - * @xdma_chan: DMA channel pointer + * @xchan: DMA channel pointer */ static int xdma_xfer_start(struct xdma_chan *xchan) {