Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp2088439imw; Tue, 5 Jul 2022 23:04:19 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tCrIzwS+cQUgM8yEt6apluqCcTdHRP2wwCYe2gRljCEgaADsm3zXDhiXVV9BMJK5l1/qAb X-Received: by 2002:a17:906:51ca:b0:722:e7f2:fa43 with SMTP id v10-20020a17090651ca00b00722e7f2fa43mr37922578ejk.591.1657087458994; Tue, 05 Jul 2022 23:04:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657087458; cv=none; d=google.com; s=arc-20160816; b=vOu62bjZT8k+SPww+QD8MtAAn1e45azv5Ap6t1rF8GOJ/RbZZPwqObsPRo+e2WsxAR RZaqpTyYlJQ4G8MOOps6t4CHm4sD1x8wOkx8sKrHy7bCAYTKmvb1EXZzMX1PVVje+Gmd T5hkpUex6gCgdkrRZYxgqwibFuI2qnBhvOEyyZ4lZt5RyDUFzuK/ibqfGEM0txGZGhVp wkMUecbfOwyl0qWtJhXVCh2xh8mx58oQkxKxmV15hXMstRGUDjpdHpIUsCeKv9rwrVkk 9ILoC7CrOBKmwvrP1IslaUMotIRlevJkZXJXbwYCEoB5FqCJLWeXQD094hOeSi1xpiVe ANxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=t7e7/28fZDD99vJ1yWPaM3D4VL6R1Y9r0CeSwjOST+A=; b=Xyl5gB59l9GTFOZ5X1xk38rWvXQnWAGW1fuF6GEpOnvJ3VVWZp7VOdDehn4/UDSLDT UZqxENJJMXbeLFjfTJ4Sc+5WnmkIO6d9y2rBKKu2d4LV8mZcspULbB3M4XfmKsN2obp+ xqkNnOYNVDFhbacEsg6wmJPhmcvvPuzJqAE19Y2PO5SE8Y3aXrzIRRe8N4aPAACSiwQ/ ngwERCghOPUaugsR/2/faXYhU9xyVaYAMMN3FQD/UMhg161wJrf+LyEqyYx3xuU7wD2b VuJpfBoQamHiKTKlwm7Z+PpSph3DKTvIcMaAehArbOdHVn+pTLRX400vYk7sTAMA6G+8 Wf3g== 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=nxp.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gb2-20020a170907960200b0072afc15af40si278327ejc.39.2022.07.05.23.03.53; Tue, 05 Jul 2022 23:04:18 -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=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231126AbiGFGAT (ORCPT + 99 others); Wed, 6 Jul 2022 02:00:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42144 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229672AbiGFGAP (ORCPT ); Wed, 6 Jul 2022 02:00:15 -0400 Received: from inva021.nxp.com (inva021.nxp.com [92.121.34.21]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4301812AD2; Tue, 5 Jul 2022 23:00:14 -0700 (PDT) Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id C51A8200626; Wed, 6 Jul 2022 08:00:12 +0200 (CEST) Received: from aprdc01srsp001v.ap-rdc01.nxp.com (aprdc01srsp001v.ap-rdc01.nxp.com [165.114.16.16]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 96040200622; Wed, 6 Jul 2022 08:00:12 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by aprdc01srsp001v.ap-rdc01.nxp.com (Postfix) with ESMTP id 241D41802204; Wed, 6 Jul 2022 14:00:11 +0800 (+08) From: Shengjiu Wang To: vkoul@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, shengjiu.wang@gmail.com, linux-imx@nxp.com, dmaengine@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] dmaengine: imx-sdma: Add missing struct documentation Date: Wed, 6 Jul 2022 13:45:09 +0800 Message-Id: <1657086309-7964-1-git-send-email-shengjiu.wang@nxp.com> X-Mailer: git-send-email 2.7.4 X-Virus-Scanned: ClamAV using ClamSMTP X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, 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 Fix compile warning that 'Function parameter or member not described' with 'W=1' option: Add missing description for struct sdma_desc There is not any description for struct sdma_script_start_addrs, so use /* instead of /** Signed-off-by: Shengjiu Wang --- changes in v2 - refine the patch title 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 8535018ee7a2..39d70ef1caf0 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