From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mho-03-ewr.mailhop.org ([204.13.248.66]:34724 "EHLO mho-01-ewr.mailhop.org" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752883Ab3EPP4z (ORCPT ); Thu, 16 May 2013 11:56:55 -0400 Date: Thu, 16 May 2013 11:56:17 -0400 From: Jason Cooper To: Thomas Petazzoni Cc: Ezequiel Garcia , Lior Amsalem , Andrew Lunn , Arnd Bergmann , Maen Suleiman , linux-pci@vger.kernel.org, devicetree-discuss@lists.ozlabs.org, Thierry Reding , Rob Herring , Grant Likely , Olof Johansson , Gregory Clement , Tawfik Bayouk , Bjorn Helgaas , linux-arm-kernel@lists.infradead.org, Jason Gunthorpe Subject: Re: [PATCHv9 7/9] pci: PCIe driver for Marvell Armada 370/XP systems Message-ID: <20130516155617.GH6563@titan.lakedaemon.net> References: <1368624323-24311-1-git-send-email-thomas.petazzoni@free-electrons.com> <1368624323-24311-8-git-send-email-thomas.petazzoni@free-electrons.com> <20130516093312.GB2459@localhost> <20130516154031.GF6563@titan.lakedaemon.net> <20130516174903.3a7a07ef@skate> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20130516174903.3a7a07ef@skate> Sender: linux-pci-owner@vger.kernel.org List-ID: On Thu, May 16, 2013 at 05:49:03PM +0200, Thomas Petazzoni wrote: > Dear Jason Cooper, > > On Thu, 16 May 2013 11:40:31 -0400, Jason Cooper wrote: > > > > > +static int mvebu_pcie_init(void) > > > > > > Building this showed a warning here. It seems you forgot > > > to mark this one as __init. > > > > Thomas, I'll fix this up when I pull this in, no need to resend. :) > > I'll resend, because beyond this function pointed by Ezequiel, there > are two other functions that can be marked __init. The one pointed by > Ezequiel is important because it causes a section mismatch > when !CONFIG_MODULES, because in this case platform_driver_probe() is > __init (and this explains what I wasn't seeing the warning, since I'm > building CONFIG_MODULES=y). The two other functions are more cosmetic, > but good to have as well. > > It would already been sent if git hadn't decided to do a 'git gc' right > after my rebase. It's been gc-ing for quite some time now... Dear boss, I am in desperate need of a 500GB SSD on which to do my kernel work. Thanks, Kranky Kernel Developer hehehe... I'll pull in once you send. thx, Jason.