From patchwork Tue Apr 17 19:53:23 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: 10346775 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 CC7B960542 for ; Tue, 17 Apr 2018 19:54:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BBE4226E90 for ; Tue, 17 Apr 2018 19:54:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AF9F72621E; Tue, 17 Apr 2018 19:54: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 320E02621E for ; Tue, 17 Apr 2018 19:54: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: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=ym3oM9QC7JKk9Uj/Meja0zfvy7vRAGwheN9DllgNdOA=; b=Gya95pmfoD81AK LNra2V90kTF2EKJOdVgJt9MQbvaiG/GjxN4KhZFohtv0P/WLphM2P8AEdWAnsCfRvRq0CABByvHfn ff4X6ITsYAYbYHUI1o2TR+4K4e8Wy5uhwZcgTY5Vdvi0rMgv4+9nmXFD9VDeCOk6iut+ZRZgCwmp2 OIG5XmtleRo997epSovtf2aBn5tndmUzq6r0rpMXt7SKZ+2SHYEwM6M8vjfiX00Jzsv+T3HsODxN3 ynP1UkzuBZKl+ybeP2sVE5dpmEk+t5YNJxyMJJnlSP804IKbmKauaYpn0CU6ubLCgB6CDUE8/DhWo 9osXiOXhEOgCuV2fWFUg==; 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 1f8WgT-0001Kk-J1; Tue, 17 Apr 2018 19:54:33 +0000 Received: from mga01.intel.com ([192.55.52.88]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1f8Wfz-00014u-1U for linux-arm-kernel@lists.infradead.org; Tue, 17 Apr 2018 19:54:06 +0000 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Apr 2018 12:53:50 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,464,1517904000"; d="scan'208";a="34113436" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by orsmga007.jf.intel.com with ESMTP; 17 Apr 2018 12:53:49 -0700 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from ) id 1f8Wfk-0001fG-7l; Wed, 18 Apr 2018 03:53:48 +0800 Date: Wed, 18 Apr 2018 03:53:23 +0800 From: kbuild test robot To: Jarkko Nikula Subject: [RFC PATCH spi] spi: pxa2xx: pxa2xx_spi_transfer_one() can be static Message-ID: <20180417195323.GA69680@ivb43> References: <201804180300.Pn9JAJQ2%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <201804180300.Pn9JAJQ2%fengguang.wu@intel.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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180417_125403_191932_7D18047D X-CRM114-Status: GOOD ( 19.39 ) 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-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Haojian Zhuang , linux-spi@vger.kernel.org, Mark Brown , kbuild-all@01.org, Robert Jarzmik , Daniel Mack 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 Fixes: d5898e19c0d7 ("spi: pxa2xx: Use core message processing loop") Signed-off-by: Fengguang Wu Reviewed-by: Jarkko Nikula --- spi-pxa2xx.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/spi/spi-pxa2xx.c b/drivers/spi/spi-pxa2xx.c index c852ea5..40f1346 100644 --- a/drivers/spi/spi-pxa2xx.c +++ b/drivers/spi/spi-pxa2xx.c @@ -911,9 +911,9 @@ static bool pxa2xx_spi_can_dma(struct spi_controller *master, xfer->len >= chip->dma_burst_size; } -int pxa2xx_spi_transfer_one(struct spi_controller *master, - struct spi_device *spi, - struct spi_transfer *transfer) +static int pxa2xx_spi_transfer_one(struct spi_controller *master, + struct spi_device *spi, + struct spi_transfer *transfer) { struct driver_data *drv_data = spi_controller_get_devdata(master); struct spi_message *message = master->cur_msg;