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: 10406247 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id BDA0D60247 for ; Thu, 17 May 2018 09:59:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AD1CA28A11 for ; Thu, 17 May 2018 09:59:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A1D3228A14; Thu, 17 May 2018 09:59:50 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 48B3528A12 for ; Thu, 17 May 2018 09:59:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751457AbeEQJ7Z (ORCPT ); Thu, 17 May 2018 05:59:25 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:40311 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750924AbeEQJ7X (ORCPT ); Thu, 17 May 2018 05:59:23 -0400 Received: by mail-wm0-f67.google.com with SMTP id j5-v6so7882484wme.5 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=bahA3LVBKl6Qfrp8xXkxRzo+LD83WxvfeOf+mjY/us40XbgblWJiFVJFsXI99m6qvS kIS1JfuuLIveFhoqKnja/tIzSIX1Rd1vjrREOsm/QZi+4+w1stnz50JFEzDzkJsJ6c7N PN0l1/ptSK0caO9VML1Yl7lciBrHqDufZ/SnFheYYYuOBpcyLjOKpMaOe1edw7B3BhJ6 oRneoLQ0Qe4Kj0hlMpaYq5Xh9dQMfB4Ed1KQDQ9Dxw7NSSTeksTBHr94RnLK3RoR83fp QNL+lyNq5n85YE2typWM8XAJow2R8wtdidLrUaU0iwrRuEeEajNSVxyOTHT9JJCWxVbb TS3g== X-Gm-Message-State: ALKqPwcEort3XmH+NdURdlmjITWfNOAvNmVmmKX/s1j7qdMVeFmcUj8b LM8AQkRnuqAnwZv/OblSduNq9sr1vCE= X-Google-Smtp-Source: AB8JxZpd+rgSYJxKCFFmFrfxOlzsM8uPuBuP+G2IWTIEVZPDbV7qdwAnoj7nqCqXGko110c/aeUfYQ== 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: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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) {