linux-mips
[Top] [All Lists]

Re: PCI Section mismatch error in linux-next.

To: David Daney <ddaney.cavm@gmail.com>
Subject: Re: PCI Section mismatch error in linux-next.
From: Bjorn Helgaas <bhelgaas@google.com>
Date: Fri, 17 Aug 2012 11:44:31 -0600
Cc: Thierry Reding <thierry.reding@avionic-design.de>, Ralf Baechle <ralf@linux-mips.org>, linux-pci@vger.kernel.org, linux-mips <linux-mips@linux-mips.org>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:x-system-of-record; bh=Kd/JZBXbIX5coJ5LazkbyZsbv8yCIzO8HtCqcIW595o=; b=f7BQXw29TubVrXg9kZjvyX2ystKMqiz4hk2MTjXOvRy+mQWsxS6QWwZ3aAmsBKGk+e aaP7mJm6ief0eweFAab8jDy0mqEb5JWh66XOeSDb/rZyBRkKUkg4Cfp/sbwWDRq8x2Tc UMikdsI7RIxqRCKju+QW9IavU8MKZOp6nT2sHF1M7AGMm6IIKwg2WDBZbFPSE8WlUL2f ix1ta69qqfB+QvGoF8vacyuGcqperEkyEYVBt8hX/z2NlY6yM9Ot5RadeVat7Kktt3Fi MEzW10HUmCk0045xasLSncywlvgee+KBdIhF6ag+3kki4GR4q8qJc6F/8z6jvAt0MM+x yd+w==
In-reply-to: <502E8115.90507@gmail.com>
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
References: <502E8115.90507@gmail.com>
Sender: linux-mips-bounce@linux-mips.org
On Fri, Aug 17, 2012 at 11:36 AM, David Daney <ddaney.cavm@gmail.com> wrote:
> For MIPS, Thierry Reding's patch in linux-next (PCI: Keep pci_fixup_irqs()
> around after init) causes:
>
> WARNING: vmlinux.o(.text+0x22c784): Section mismatch in reference from the
> function pci_fixup_irqs() to the function .init.text:pcibios_update_irq()
>
> The MIPS implementation of pcibios_update_irq() is __init, so there is
> conflict with the removal of __init from pci_fixup_irqs() and
> pdev_fixup_irq().
>
> Can you guys either remove the patch from linux-next, or improve it to also
> fix up any architecture implementations of pdev_update_irq()?

Crap, there are lots of arches with this issue.  I'll fix it up.
Thanks for pointing it out!

Bjorn

<Prev in Thread] Current Thread [Next in Thread>