From patchwork Thu May 17 09:59:15 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 136136 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp2062586lji; Thu, 17 May 2018 02:59:26 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoP/KV9iUkGzfK3Ihf1Mx0/nMGLrfhmKqJx1A2YgY6mMES0asSHDNEF9xQkzxQ/YBobXTGz X-Received: by 2002:a63:894a:: with SMTP id v71-v6mr3641430pgd.423.1526551166397; Thu, 17 May 2018 02:59:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526551166; cv=none; d=google.com; s=arc-20160816; b=sD+Pif43FlTOvd2ehUdxYq6FwV7fhwGaANR4vCxCjayZ2Ub4x08cBFkzOp+x76WR+7 liM/H3gP3hv0tzCQ6zPEjECMiWeIEhQtqfQahlYreZaH44JuMKkqJpqgvnCFHNATm/Xp ef1mu1Z2Zcrk8MS7VJDAufw7FZiCvFIvsjmSKJVwhiSgg/5yKtt5sXREw3hSSPXaOXCe zsLi0VjrmUalEwQzUvGaYArY1vGV4fHh6sihm8W+rNdT9QTtmSgSScJMUQfYnVzsD+63 PB35s1LwazQIjQqm8HN2HhTo1G1G58EHyLfuB9RYW5Wtw9K36TX/rah1kAIrCg4Ie4PT Wtww== 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=1zMawVNs/A9nXZHPSqVopADpMRzxtU/Y+MxCT+n52aY=; b=wBYSzYZmG/XbV/9vpEqcbwfFin7KSbDgzeEIaUYLEdaojtsQRFL53xB1M5ej/vZPpT PCPoFxAv+K6emRzTTtkOrBF+rY62xxF9l5RFWK4wH/+hOrzeWEfVjtzUHq8yD6UdKqKC y8EaCiLr6mgn+uApZ2JqNyXCSkDd7EdAeZe4rJ54XBqvz3DckPWcmC0XYXfUk+x2Nydr VkFJPn0Rp2NQDwwOTudXlVIwuNz+5TfRDz8Lkmkz4pTFOFDxiU6t7ay1/g8fu1iXRKhV Bx5e95o5rRrdgLKLYv3LHxTaZC6BYo/MO+RLnmxle30TP/6KfntpKicBR93X4n9egPkN vCzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=ZHSWVxdA; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=fail (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 d7-v6si1627564pgn.455.2018.05.17.02.59.25; Thu, 17 May 2018 02:59:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=ZHSWVxdA; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751438AbeEQJ7Y (ORCPT + 13 others); Thu, 17 May 2018 05:59:24 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:35372 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750826AbeEQJ7X (ORCPT ); Thu, 17 May 2018 05:59:23 -0400 Received: by mail-wm0-f66.google.com with SMTP id o78-v6so7967716wmg.0 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=AH0tF90PLLO8uA6S1MBwaBN4ARJgnxbvDG7r1aRJPO6OOyAZSF2ZCdr+Dg8tw8WMlT iKWwcrY/aAV5YuXdQxN5zB0JCQSNTnyKHdnjONhf+LzBu1eMxDkTccZFtVlID2yV5PWN z4ZAyo8CuMIymp3e2zsoNNrgC5VmIf/3s+BBxsXXKwzjf/dBfKhTixZt7mFNr+sB4VLc qDgZHifxCfIW7jcf0f+kAx/coajJgbCf/hoKPVfW7s1g+t5hQih3YlnbQVWjewG4WfPW VbiUWJzC+nXUr8ke3XVjAOlQf+umwK0zTJnPy1GH61KrT2Ok8C8zLPViVLEC/zScQu5h sHdg== X-Gm-Message-State: ALKqPwdruFBaPfkyTVpFxGj8I6AK9Ry7Wz4DO7XF2WGOrLrWAoui/wLa P40aiv+rX7f9qKtsH3+fJ6y06Q== 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-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@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(-) -- 2.16.2 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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) {