Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp231881iob; Wed, 18 May 2022 00:34:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzGgp5KJl0r6+cQgt3T1seuoYdhHNbLkM0Xnb1tv/GJcpgCNTs474In4xPo0f/b6bhJeDmN X-Received: by 2002:a17:902:e80d:b0:15e:b27b:931c with SMTP id u13-20020a170902e80d00b0015eb27b931cmr26190181plg.5.1652859294786; Wed, 18 May 2022 00:34:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652859294; cv=none; d=google.com; s=arc-20160816; b=Po8gTKHOxG6LpyGFhWGXitOnSpDTOmt48vS0bZwJCVYSlZ2hY4WqlD21iDWYd6NQ+G tgB4ayDA4k4y282WE+DSKuwNQZ+7d6aUGnTiS0XyZ2YSLvGtg/zuptwR8rAyrRYNTVom mZusCVEOIBHF6r1tgRXnjc/KocHmmGyW6lojVR85uH3PdojViaA6Iz0jvCXKADafFsU7 l5hmxQT8wNqmSSYRJcRBs6M0+VdwIkSS6DKuRq3+XY73GEbe/8Q8w0vsFDHR9PSzR1rv q3rd98uXKwedoKsRhnT+4nCxAR9v/V3FGCsOhnv8ksVcURbn+rOp2S9SqcZmLtRQGSxV 99BQ== 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:to:from; bh=MtDcakffc+4jmBwy2D01AH5Swuc73nbwI6Nl0r5bCo4=; b=N+Bv3T8AHo5erKKm+2WhGpQJ7WyLKPmwIsV0bPV7kDGHZRQVmybGk9RH8cQF9sO/AA BVegb1OfcnhcI7y8g5rbunIvDnPgKW28OHoM7GACq7HLDWzikI9bYiePgUeFcz3RU9mq Jbo9/JoDwjrXVsHLIutfYLX0zr85Cvr+R8HBENTDlMEx6OOH8t367HsdsA9ILzipgze/ 5sxXdjwdHNUw+XZT4GQoAbYpAJ7xrk+GL6oq11z8y0U5NNhZlavcyCJrI+R/0GBKjYwP +wSBkh9XiQ57XlpID38iiquSlSEWd72AeQPmi4t0IATwlyskbne3NF3EhqEqKb3daOyZ +lPg== 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:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id d16-20020a170903231000b001582fa35afasi2023480plh.190.2022.05.18.00.34.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 May 2022 00:34:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 61AA36AA55; Wed, 18 May 2022 00:34:53 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232251AbiERHei (ORCPT + 99 others); Wed, 18 May 2022 03:34:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55460 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232249AbiERHeX (ORCPT ); Wed, 18 May 2022 03:34:23 -0400 Received: from inva020.nxp.com (inva020.nxp.com [92.121.34.13]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0CE4DC9EC9; Wed, 18 May 2022 00:34:21 -0700 (PDT) Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 8FD2D1A0C9B; Wed, 18 May 2022 09:34:20 +0200 (CEST) Received: from aprdc01srsp001v.ap-rdc01.nxp.com (aprdc01srsp001v.ap-rdc01.nxp.com [165.114.16.16]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 587141A0CBC; Wed, 18 May 2022 09:34:20 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by aprdc01srsp001v.ap-rdc01.nxp.com (Postfix) with ESMTP id EEFF0180031F; Wed, 18 May 2022 15:34:18 +0800 (+08) From: Shengjiu Wang To: vkoul@kernel.org, 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: [PATCH] dmaengine: imx-sdma: Fix compile warning 'Function parameter not described' Date: Wed, 18 May 2022 15:21:47 +0800 Message-Id: <1652858507-12628-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=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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: There is no description for struct sdma_script_start_addrs, so use /* instead of /** Add missed description for struct sdma_desc 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