Received: by 10.223.176.5 with SMTP id f5csp642787wra; Sat, 3 Feb 2018 07:12:04 -0800 (PST) X-Google-Smtp-Source: AH8x224k9qqhBzaonUbGkmrk4i208zPKqBxx085u6pjHE5PwHoBVskaGqjhpjVzpewBwfor3aOe2 X-Received: by 2002:a17:902:860a:: with SMTP id f10-v6mr37818677plo.292.1517670724022; Sat, 03 Feb 2018 07:12:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517670723; cv=none; d=google.com; s=arc-20160816; b=N2FPtCU52n0/ZDGcmT95cL0FHtTo94cT8lSP1Z7Ov+XOdGksbFBG3VcT3uCx7rdRGv YWOeuZ6SLTJ49I6R6sBhjk0HL8/oyocFdZmOKYk9wNITHY7PxtoHK4tTmeozMJsRECz5 IORN40mvh4XbWV1Bu0Qq0kqASe54C7vX1ogc8VQzmKI9PC8rBXa5z00fmin4wyJARnik 7i6qzpUmOCpeuXYU9/7DcqJaaxC4abjyjkIMQEhCulE/3Fi8wwKxEZ0gAjIuXunhdZWt 3MbiELgxZ8obcbVqPdxygag9qjXKmZkatcslaBCadLnREtuMTwlgfgS4FHgZdKnE82uH 5Qhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=904Ba4UwosdBHHzV2boCUdfvYNKpiIZPBJKJCK4JKvo=; b=drjRWFAJ3/INWkm/n5bYp8ZrjKoEarKcThWzikZvQ3/Kp8iBqDA4CHxWInKtwPEBj0 QIZcNTi0CxWSXRXDxIQpqHeFIf/OXzs4Jm3AF47ZK8WGrmxf0tykl8bLYdftyQr4Uc3E ej3j3LB4GkD8LzyI6fQTD+KTfPhpRf5pGOLtn9i41GQe+e/uAvx7A9VzMggczOHyBhIK 0eFhb+nimaABcyAJoKka94n+ZpMtf20mpiiMuG91gLTuhnujZi+wh6T8UPtgvsE11YMs Aj2oRn65cgS47UCkXp4LrfvJBeJvdBNyE1IaqiHI0FrTZDNg4+zhqOZBgMJ721tmyzvd /yJg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t22-v6si1628316plo.256.2018.02.03.07.11.39; Sat, 03 Feb 2018 07:12:03 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752235AbeBCPKy (ORCPT + 99 others); Sat, 3 Feb 2018 10:10:54 -0500 Received: from mga03.intel.com ([134.134.136.65]:54809 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751644AbeBCPKu (ORCPT ); Sat, 3 Feb 2018 10:10:50 -0500 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga103.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 Cc: kbuild-all@01.org, vinod.koul@intel.com, dan.j.williams@intel.com, robh+dt@kernel.org, mark.rutland@arm.com, dmaengine@vger.kernel.org, devicetree@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Sean Wang 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-Type: text/plain; charset=us-ascii 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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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;