From mboxrd@z Thu Jan 1 00:00:00 1970 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 61659C433EF for ; Wed, 6 Jul 2022 05:18:32 +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:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=mCFAnLhwV+R7Od4EzgC0gWBw1TKfAWK4ZU5Mm35EZC8=; b=2jwE1ZC9ea4fll 51SgohOw1kbAGj+xp/s5826xpC8WMh/+ERR1RSFQMLpoys6U5X+yBvv9jRZYAQcdhDhxJ4VQYvMFm b2/ptW5ozm9/kEIvliLT4UvD5eM41b3dy/D2B9lBQsn2a7C5I2zJNQoT7agzUpMHtUkUKwKlNOcf/ ktGhsRMCM1jC90q0hKhXmC/6VLyW8TnfzXA15jNQmPT6dnUigO73Ii4eRHquFQrlAY/crORaFYu6h 2vmVJOlDVznl4CmzfIAggTB5YvBbqWyGWDDP1+Tl05pM4Np8KrR/Dxifqcu6RPWi+nEUz6prql6v+ F/pPoMn8J6gPhhiqEf+A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o8xPi-00651U-97; Wed, 06 Jul 2022 05:17:26 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o8xPe-0064yP-SK for linux-arm-kernel@lists.infradead.org; Wed, 06 Jul 2022 05:17:24 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id F2D47B8198E; Wed, 6 Jul 2022 05:17:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DBA6EC3411C; Wed, 6 Jul 2022 05:17:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1657084635; bh=OFpHh/l0JfYEWjjOkBu7G0I8TgRj2RIKDJ6hwTnDB4c=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Mb9WgisFnRbb27wZ++aPJVbXMd1ftcbhxbI0V/J4diGfrf/TguPxSYm4QeUDOHpRr jQsxMmbbr5cf54KvfOk1Fks992+OaK1F9C0VmpLkDUZ6b5B+ZxXXz+gk/xb9D+UAIr RuDDWt7+NFdl1RWcPdH5LfITDJyZGFi0BkVdDamvViZ4+j0r5iXIMXrVSmCOv89cJJ lx5S7rdmEwanFxjqQZNwXKExqUmwPrBFeB45oEegaoSgnhvs6ZVMUjm3BSY4E7Fh5z C3IhCKJzyVSaWwRLtswTsvdAPb7gMfvTBaDnkDxba1TQHCorvXsH44zlReFZ7jnNtm J6YOI0lh0kRVw== Date: Wed, 6 Jul 2022 10:47:10 +0530 From: Vinod Koul To: Shengjiu Wang Cc: shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, dmaengine@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] dmaengine: imx-sdma: Fix compile warning 'Function parameter not described' Message-ID: References: <1652858507-12628-1-git-send-email-shengjiu.wang@nxp.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1652858507-12628-1-git-send-email-shengjiu.wang@nxp.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220705_221723_095925_17399EAC X-CRM114-Status: GOOD ( 20.50 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 18-05-22, 15:21, Shengjiu Wang wrote: > Fix compile warning that 'Function parameter or member not described' > with 'W=1' option: > > There is no description for struct sdma_script_start_addrs, so use /* > instead of /** > > Add missed description for struct sdma_desc Patch title should describe the change, so add struct documentation etc would be apt. Pls revise > > Signed-off-by: Shengjiu Wang > --- > drivers/dma/imx-sdma.c | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) > > diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c > index 95367a8a81a5..111beb7138e0 100644 > --- a/drivers/dma/imx-sdma.c > +++ b/drivers/dma/imx-sdma.c > @@ -188,7 +188,7 @@ > #define SDMA_DONE0_CONFIG_DONE_SEL BIT(7) > #define SDMA_DONE0_CONFIG_DONE_DIS BIT(6) > > -/** > +/* > * struct sdma_script_start_addrs - SDMA script start pointers > * > * start addresses of the different functions in the physical > @@ -424,6 +424,11 @@ struct sdma_desc { > * @data: specific sdma interface structure > * @bd_pool: dma_pool for bd > * @terminate_worker: used to call back into terminate work function > + * @terminated: terminated list > + * @is_ram_script: flag for script in ram > + * @n_fifos_src: number of source device fifos > + * @n_fifos_dst: number of destination device fifos > + * @sw_done: software done flag > */ > struct sdma_channel { > struct virt_dma_chan vc; > -- > 2.17.1 -- ~Vinod _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel