From patchwork Sat Feb 3 15:10:44 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kernel test robot X-Patchwork-Id: 10198537 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 42979602CA for ; Sat, 3 Feb 2018 15:11:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 31D5528FD1 for ; Sat, 3 Feb 2018 15:11:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2689D28FD9; Sat, 3 Feb 2018 15:11:16 +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=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 D668E28FD1 for ; Sat, 3 Feb 2018 15:11:15 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=5gKCYoNfTCjshbNjdtx7DbZ9cW+iR7Jf+97tfQ0HHQM=; b=l/xDMXB+VRIK18 AVyC8Sf5XBNmdxmlyw5BSnhpaEN0NARNKA/MfCg3PFz5572vCmeJl1aQecrkLtuW87MnzH7fKCRB5 jNk1sPtXjV0kwZTs9LMkfnkqv6iooVh/4dVKJTXTfsP2gYxKzb6UL2w/ek3gNFDl7GbcKEQZ6WqLb tE2Ymg8BK7ma8axwcCt+6grO1J0YgeoC+bTZIxCVxchzNS44LbhabVqpu8GvEzeUIVbtD72BYB9DJ yc1gdUeJ/vFqwNIye7GZhJpejwZpEIOn3MhvVhlrMecV4FGse8AEW7fyji51lmTrRlqU6vDM3pL/h Nx5LQWTn7k1Bn3aevceQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1ehzTF-0001Zh-6t; Sat, 03 Feb 2018 15:11:13 +0000 Received: from mga06.intel.com ([134.134.136.31]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1ehzT2-0001Oi-Em; Sat, 03 Feb 2018 15:11:02 +0000 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Feb 2018 07:10:49 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,455,1511856000"; d="scan'208";a="171407468" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by orsmga004.jf.intel.com with ESMTP; 03 Feb 2018 07:10:47 -0800 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from ) id 1ehzYs-000Lvo-Gi; Sat, 03 Feb 2018 23:17:02 +0800 Date: Sat, 3 Feb 2018 23:10:44 +0800 From: kbuild test robot To: sean.wang@mediatek.com Subject: [RFC PATCH] dmaengine: mediatek: mtk_hsdma_find_active_desc() can be static Message-ID: <20180203151044.GA44748@lkp-hsx03> References: <3d5c7933c83ec456bdbcc70623fd460eb66eba1c.1517454174.git.sean.wang@mediatek.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <3d5c7933c83ec456bdbcc70623fd460eb66eba1c.1517454174.git.sean.wang@mediatek.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: fengguang.wu@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, vinod.koul@intel.com, Sean Wang , linux-kernel@vger.kernel.org, robh+dt@kernel.org, linux-mediatek@lists.infradead.org, kbuild-all@01.org, dmaengine@vger.kernel.org, dan.j.williams@intel.com, linux-arm-kernel@lists.infradead.org Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Fixes: 73006a033ef0 ("dmaengine: mediatek: Add MediaTek High-Speed DMA controller for MT7622 and MT7623 SoC") Signed-off-by: Fengguang Wu --- mtk-hsdma.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/dma/mediatek/mtk-hsdma.c b/drivers/dma/mediatek/mtk-hsdma.c index cd3af5c..c1523b4 100644 --- a/drivers/dma/mediatek/mtk-hsdma.c +++ b/drivers/dma/mediatek/mtk-hsdma.c @@ -643,8 +643,8 @@ static irqreturn_t mtk_hsdma_irq(int irq, void *devid) return IRQ_HANDLED; } -struct virt_dma_desc *mtk_hsdma_find_active_desc(struct dma_chan *c, - dma_cookie_t cookie) +static struct virt_dma_desc *mtk_hsdma_find_active_desc(struct dma_chan *c, + dma_cookie_t cookie) { struct mtk_hsdma_vchan *hvc = to_hsdma_vchan(c); struct virt_dma_desc *vd;