Received: by 10.192.165.156 with SMTP id m28csp445139imm; Tue, 17 Apr 2018 12:56:10 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+Y73rRvFMaSKyur3CUAgpN3FzlAhjguIir7CytQcId8M1fhszfp17wqDMQKs9T38uw62+I X-Received: by 10.99.189.82 with SMTP id d18mr2870198pgp.311.1523994970678; Tue, 17 Apr 2018 12:56:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523994970; cv=none; d=google.com; s=arc-20160816; b=JbBmdRTcw1FaJBNA64NfZ/J3vIyWdg/WgWXRsTYz0QVA7umh6mX7Xye304Zd9gr2pK wjVuIV3t3kG35bufLgDDLIX5zOaKMSGBYIcdGtRrgh4k6viyrbG7XQmoHnRv4DM4whEl l27V+nvnsEM4E4jW4vKS26ST2mDSUAACFpul85T58ZB5tU7j/8zdcdhgSicA60m/J5Xz dtiKOGwKxwvsPgHT7/RJr4oDK+huYUkzBGqvYUDOAtvcZJv2y2p0iWtrW7WDHfboAGEg 2y9afioj/GAIiNIm+KB4IaHMezgdXAXUVjI/dWiMIBQkegv6oJwG3WrEQgB6UdUjwQ+B 7MJw== 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=kp0Ycy41ACPYu5LZLuaH7/WR86Ltb8KfhEG406QPs30=; b=y/YnHKDVXZBj74qaDFP4JMJBhxzJk4/6x+ALbyYv/nvY1GyLaGM9gfUPvfDjPVFdrC XQdfUnusBD4z8LfvDCk3tW1TgpPkT8BGhcpXW7jw+LRdVBCKbonYw2F+GXZBCPlLR+d1 gWapWgtkxeelgSSBdOQ3lKxEGIO9AAtrzGOugfY1Dag210q1cfkPc4gkqgdz5WwYnGth 8OeEjwLKOmkHeKqa5GlP9t+vuu2IVHDVLWRPqW/j2fmbtv6gllzWzBMAtJxC/IROh7Ws rL2So1adi3fLb9Xon3NZisBvCBqIUygiRyTCH+MyBHcPdNN5W6CsLnon9nwrkJmWo3PC qAfg== 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 c87si11814266pfd.89.2018.04.17.12.55.56; Tue, 17 Apr 2018 12:56:10 -0700 (PDT) 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 S1752738AbeDQTxx (ORCPT + 99 others); Tue, 17 Apr 2018 15:53:53 -0400 Received: from mga09.intel.com ([134.134.136.24]:10885 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752497AbeDQTxv (ORCPT ); Tue, 17 Apr 2018 15:53:51 -0400 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga102.jf.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 Cc: kbuild-all@01.org, linux-spi@vger.kernel.org, Mark Brown , Daniel Mack , Haojian Zhuang , Robert Jarzmik , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org 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-Type: text/plain; charset=us-ascii 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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes: d5898e19c0d7 ("spi: pxa2xx: Use core message processing loop") Signed-off-by: Fengguang Wu --- 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;