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: 10406245 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 A9FA260247 for ; Thu, 17 May 2018 09:59:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9738128A12 for ; Thu, 17 May 2018 09:59:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8BCC528A15; Thu, 17 May 2018 09:59:47 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 1E84728A14 for ; Thu, 17 May 2018 09:59:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=7/srbTyX9sBiAROWpjLSh4l9KW3DzvCmxjcYTlar6uI=; b=Ve5 2nc4ZRAI0XZF/MOA4H3m/QWbMCNyFKBUnILsDEMwMdtPGQIR95nCDmNFYXnnJP0l9htpQgFF4O0U3 Lr1JJIx8YKxmyF+KNURIQbaKhZLllbE+jgXzMe+U9K6yVjZ4P6yTr186nuPrRejAfQPFdmgTaF+F7 22BYbQod1LzcBez5UbowJ6nymyTkT5MJWs8nXwJVNouuH2dCoLCBDWaKv347SLNUMdbN94eDE9oh3 JkjfIaVls2RdkXB7c8lJSGBXJvD8gp24rcMKNaoO+VwAJjfQrpbmsJjLRjPEs9cAEkk1OOqbPPUlD PfnWRnhYtKYTf2p3yVtn9gg6/G4q/xw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fJFhB-0001gv-Du; Thu, 17 May 2018 09:59:37 +0000 Received: from mail-wm0-x241.google.com ([2a00:1450:400c:c09::241]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fJFh8-0001fS-6t for linux-arm-kernel@lists.infradead.org; Thu, 17 May 2018 09:59:35 +0000 Received: by mail-wm0-x241.google.com with SMTP id f8-v6so7916731wmc.4 for ; Thu, 17 May 2018 02:59:24 -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=oJ1U3aSHQ4AfiPiLtG1HgGqbm6ZcprXHeH3vQ93wldZWCQenEB3wmwq1ePm7CbsrFS 4kEGZ+h+dv7UBY+4+3II+pKiBc/IYKnlhinUJOFl0xuy6NOpIJs/nrK9AHx64wx+5uhj jvTXadJUrRzKLsUri4x0JFuhUGQcxsdGjSfsfWuAy64Y6mTJ5chDbbk8tv7+PhYA8Kkf dzU3xGLHMhDzBIHQpwI2mCAalciWBNTknfOPhK9Fwu0xhLuCYKuZoBdaFFy0IQdBTqGU ljYhRiF7e7jEjUxp/JXpTnvfY3EeQWwc8ASkeKRHaJ1jB6WISjX+eYPAB1I9kmk6+jWx QssA== X-Gm-Message-State: ALKqPwc2D5sJe1UZFNm4YD9cE/ZZLaPslOSEvSEeFG+Qon3YvxInziNe lt7X+3ONgJjNiruCKXMTEqXj+g== 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180517_025934_248367_E6FD381D X-CRM114-Status: GOOD ( 12.42 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arm-msm@vger.kernel.org, Srinivas Kandagatla , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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) {