Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp3075066imm; Thu, 17 May 2018 03:00:16 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrTEzhX/z53xXp73OmqwXIGRQEBpNrdsgGxzDpYa7l4QmQN8liR2n8eFemZR5SWZb+dlGE+ X-Received: by 2002:a17:902:7446:: with SMTP id e6-v6mr4479818plt.369.1526551216605; Thu, 17 May 2018 03:00:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526551216; cv=none; d=google.com; s=arc-20160816; b=Dw7tEHsZ7d87DS5j6tw+XIEcDtYoIzvwBxRI/CATCr/E8RNp1OVLQhWPMZFwUqoLB3 OYJdcSxOziHihA4RcKGlc+ypLiDUOTxgovm6LggmbTcNdpE7e0cMNSgqYabogKWoOL8y wFSZ3Y7llbdGT6R6ovzwHG9ayWbKpHTtOxaSnz8Pst7PQp6UStP28X6+D2QuykDGKNVX Qwp9ET5YMXBc917VGCYDaQ6lWqrGwNMQu2rEJfWRUkFzMPV2bWpGP5fGVOJYjaaQevWM geigb9rHXLQvIz6YSkxPvJ3QLylDuN7Bxw5hqQp4bqocZLUo1I1povCdmS/qKjIYLPqx 4IQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=eB/v7YEqwzxEQDVCYGHNA1SXrfIAMCTgpEZnhz34Zhs=; b=ZthCMgiGlqzfYKiRxsNzTVEAWEYBLYal5AWoFiO+vY6XXzL+ONLFLnzqgz0LNKPEGe F87XK/SPve2f4ALAYK1sNGNjyhj5UyDCjngPyxvGV3fgqsDnKRundLFusuzTs5TpiiR7 9fQGjLPpXb6mjW6SPrkoHOSA3nZD6+te1J9T9Ccye7WaC7oLJQjs2cX1fh0Idpv8XcmF 1nnqAT90LkqmdsLG5KMc0Qze+0rdkRMg6hOd4uahTg/9lhqAYqgQVdMNQ8o2j12sANUY IQLHH7SR2f8JOMX/GRiQrZhj4qLrMLgqKMzZ3J38spYfIcMnZP4nTfnqcgIlbJhpFrc8 kUWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZHSWVxdA; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s11-v6si3678575pgc.607.2018.05.17.03.00.02; Thu, 17 May 2018 03:00:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZHSWVxdA; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751619AbeEQJ7Z (ORCPT + 99 others); Thu, 17 May 2018 05:59:25 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:37123 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751047AbeEQJ7X (ORCPT ); Thu, 17 May 2018 05:59:23 -0400 Received: by mail-wm0-f66.google.com with SMTP id l1-v6so7930034wmb.2 for ; Thu, 17 May 2018 02:59:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=eB/v7YEqwzxEQDVCYGHNA1SXrfIAMCTgpEZnhz34Zhs=; b=ZHSWVxdARHjBJfa6CM1Sy8WnLj8SXtWYwuhbBD2/bCVNyuhhOqWJ9bWTT8xsQWaFlO 8y+XwRv50TSz6RtbwKg5efD95TQmneZq5bzMXAl+aEkWvUHUHUkUWF0qlUTnI2Oz8vb6 cKLerCALM7EezQfDzg3oyyKl1gs+MDyHitHLE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=eB/v7YEqwzxEQDVCYGHNA1SXrfIAMCTgpEZnhz34Zhs=; b=DfS6IFWiGexYHE8S7QZihpz1IwAQz9vW7u487fVByA/zEyX+Wo1Opimox0UMW/WaVM 8sueHnhXsx4uSRJYHfBYQnqYQQ/3NhZZ+eH/Xpu8VlX4GhKhGlYAWURxwGPcrPwdQzw5 8KSTuuwbM+NKglnLpi4g+cBcPODHGdJNQjd+NoTRBBQHSj8vyEfvoiNTjGS4hjCqSIQW ed+wB0dK63fV08Rjy39SlAWfp5Of6SNDKcy9jN2gT5fKvPW6aatqrDedLABmSYaPccPm /8NGzSHl/7MUAW0IvRd6iQDnFyXxZ8D3gD/U8xhCDKNac2ozB2ak9TbwkflhD02nOhb1 WLJw== X-Gm-Message-State: ALKqPwdJC841cWZgdJHNGmX1JX+e7sYrIRiuKuHnXg9OlxYIl0+xLeEg NzZt4/r0dQ+PFl8HbH+RMFzGfg== X-Received: by 2002:a1c:3653:: with SMTP id d80-v6mr1365905wma.3.1526551162779; Thu, 17 May 2018 02:59:22 -0700 (PDT) Received: from localhost.localdomain (cpc90716-aztw32-2-0-cust92.18-1.cable.virginm.net. [86.26.100.93]) by smtp.gmail.com with ESMTPSA id b10-v6sm9951458wrn.42.2018.05.17.02.59.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 17 May 2018 02:59:22 -0700 (PDT) From: Srinivas Kandagatla To: agross@codeaurora.org, vkoul@kernel.org, dmaengine@vger.kernel.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Srinivas Kandagatla Subject: [PATCH] dmaengine: qcom: bam_dma: fix some doc warnings. Date: Thu, 17 May 2018 10:59:15 +0100 Message-Id: <20180517095916.11362-1-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.16.2 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Building kernel with W=1 throws up below warnings: bam_dma.c:459: warning: Function parameter or member 'dir' not described in 'bam_chan_init_hw' bam_dma.c:697: warning: Function parameter or member 'chan' not described in 'bam_dma_terminate_all' bam_dma.c:697: warning: Excess function parameter 'bchan' description in 'bam_dma_terminate_all' bam_dma.c:964: warning: Function parameter or member 'bchan' not described in 'bam_start_dma' Fix these!. Signed-off-by: Srinivas Kandagatla --- drivers/dma/qcom/bam_dma.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/dma/qcom/bam_dma.c b/drivers/dma/qcom/bam_dma.c index 4a828c18099a..a05fff8a1447 100644 --- a/drivers/dma/qcom/bam_dma.c +++ b/drivers/dma/qcom/bam_dma.c @@ -451,7 +451,7 @@ static void bam_reset_channel(struct bam_chan *bchan) /** * bam_chan_init_hw - Initialize channel hardware * @bchan: bam channel - * + * @dir: DMA transfer direction * This function resets and initializes the BAM channel */ static void bam_chan_init_hw(struct bam_chan *bchan, @@ -687,7 +687,7 @@ static struct dma_async_tx_descriptor *bam_prep_slave_sg(struct dma_chan *chan, /** * bam_dma_terminate_all - terminate all transactions on a channel - * @bchan: bam dma channel + * @chan: bam dma channel * * Dequeues and frees all transactions * No callbacks are done @@ -958,7 +958,7 @@ static void bam_apply_new_config(struct bam_chan *bchan, /** * bam_start_dma - start next transaction - * @bchan - bam dma channel + * @bchan: bam dma channel */ static void bam_start_dma(struct bam_chan *bchan) { -- 2.16.2