From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753929AbbJOQTc (ORCPT ); Thu, 15 Oct 2015 12:19:32 -0400 Received: from mail-gw3-out.broadcom.com ([216.31.210.64]:55901 "EHLO mail-gw3-out.broadcom.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752583AbbJOQT3 (ORCPT ); Thu, 15 Oct 2015 12:19:29 -0400 X-IronPort-AV: E=Sophos;i="5.17,686,1437462000"; d="scan'208";a="77550202" Subject: Re: [PATCH] PCI: iproc: fix 32-bit build error To: Bjorn Helgaas , Arnd Bergmann References: <1442363962-29805-1-git-send-email-rjui@broadcom.com> <561D6458.40504@hauke-m.de> <561D6576.2020107@broadcom.com> <5204456.Kxa6kNhPYW@wuerfel> <20151015160028.GA17702@localhost> CC: Hauke Mehrtens , , Kevin Hilman , Tyler Baker , lkml , Olof Johansson , Mark Brown , , Linux PCI , Bjorn Helgaas From: Ray Jui Message-ID: <561FD20F.1090004@broadcom.com> Date: Thu, 15 Oct 2015 09:19:27 -0700 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <20151015160028.GA17702@localhost> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/15/2015 9:00 AM, Bjorn Helgaas wrote: > On Tue, Oct 13, 2015 at 11:00:31PM +0200, Arnd Bergmann wrote: >> On Tuesday 13 October 2015 13:11:34 Ray Jui wrote: >>>>> diff --git a/drivers/pci/host/pcie-iproc.c b/drivers/pci/host/pcie-iproc.c >>>>> index f3481ddff344..abcb4be2ee19 100644 >>>>> --- a/drivers/pci/host/pcie-iproc.c >>>>> +++ b/drivers/pci/host/pcie-iproc.c >>>>> @@ -235,12 +235,13 @@ static void iproc_pcie_enable(struct iproc_pcie *pcie) >>>>> * >>>>> * axi_addr -> iproc_pcie_address -> OARR -> OMAP -> pci_address >>>>> */ >>>>> -static int iproc_pcie_setup_ob(struct iproc_pcie *pcie, u64 axi_addr, >>>>> +int iproc_pcie_setup_ob(struct iproc_pcie *pcie, u64 axi_addr, >>>> >>>> Why are you removing the static here? >>>> >>> >>> Yeah we should keep this function as static. The rest of this change >>> looks good! >>> >> >> Sorry, this accidentally ended up in the patch when I marked the >> function as global to track down how the division got called. >> >> I'll send a new version. > > Ping; I can easily fix up the static, but it'd be nice to have real acks > from Ray and Hauke. > > Bjorn > The current patch looks good to me except that iproc_pcie_setup_ob should be kept static. With static added back: Acked-by: Ray Jui Thanks, Ray