Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp2063186imw; Tue, 5 Jul 2022 22:21:44 -0700 (PDT) X-Google-Smtp-Source: AGRyM1ucbQd90g9UlxlMdkCeoc5U5b9LrycSiAvd4KgI6VAVseQMs+7199Llid7rC1i1tMy80Ksk X-Received: by 2002:a63:1f66:0:b0:412:2f72:ec19 with SMTP id q38-20020a631f66000000b004122f72ec19mr13892523pgm.282.1657084903813; Tue, 05 Jul 2022 22:21:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657084903; cv=none; d=google.com; s=arc-20160816; b=hfWVCVICQsZtmdH1LO/RjSH2b1W7j0nfcSYqERMuhQ/5HDGvG6wjQ8qtZm/AyvO8VN pqHQoFcTmlC8qXAVjtb55wfAmq/F/N3XJfNQpJpNgzSIeCSjZAJhNLrc2cVfh7Z4RLCj rVXreSla9O2j68YUclq7NLWHjuUekXvFqWzEAisMHmwlObNblwkvW8IfI1qbh87iYH3V /Kz73PiMXoxT8KMXPu5UE/liVmo2oDteIoLm0K+l/ZU7w0fX88qpltMCUkGdswwyLbA6 78tslo/RwwtdAHzh2REh0+Ufk9UIEMnktn4UMeV5BpLkyFvrBxxtd2y38PPW4ALwNz6v ExAw== 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=04A4ZGnOPxXraxNQbkdEXkvyX5HMiWyk1Dj+aLCka6w=; b=dEioDckwKucoTIhcSeEyQZiBp8IYMan+Jwq1dD24VNYY/hWxsN9ox2DwYPd8tpiokr edx+lNYuSO43AwBwp84O+95MxCMBGv1sx1WgdnYYxzOmBbOvM2zQb/zlbZ4UOGdQBzfV X/Cr8wO8CC1s3KKO+YWty/rUCqO7mb66IkPoR2qGUBe1QoqPHgKkPiHlVy6pFwm0vUFG vxonks2EbXpvY1YbZVeY8opXdu/SEYbZv2PWEa0hKKJSCbgpdr0cgk8qJgsX2HeaCzvf JiTLX4+zIYUAeFMfiqzCAJeRclfvoepP6uZQvb3a4L5QAk0YvzpncKjKUyo65C1lGzVc 3h1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Mb9WgisF; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z12-20020a170903018c00b0016a5384072asi5478283plg.138.2022.07.05.22.21.32; Tue, 05 Jul 2022 22:21:43 -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=@kernel.org header.s=k20201202 header.b=Mb9WgisF; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230089AbiGFFRV (ORCPT + 99 others); Wed, 6 Jul 2022 01:17:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42062 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229579AbiGFFRT (ORCPT ); Wed, 6 Jul 2022 01:17:19 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4808A1F632; Tue, 5 Jul 2022 22:17:18 -0700 (PDT) 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 0A615B818BD; Wed, 6 Jul 2022 05:17:17 +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-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1652858507-12628-1-git-send-email-shengjiu.wang@nxp.com> X-Spam-Status: No, score=-7.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 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