linux-mips
[Top] [All Lists]

PCI Section mismatch error in linux-next.

To: Thierry Reding <thierry.reding@avionic-design.de>, Bjorn Helgaas <bhelgaas@google.com>, Ralf Baechle <ralf@linux-mips.org>, linux-pci@vger.kernel.org
Subject: PCI Section mismatch error in linux-next.
From: David Daney <ddaney.cavm@gmail.com>
Date: Fri, 17 Aug 2012 10:36:21 -0700
Cc: linux-mips <linux-mips@linux-mips.org>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :content-type:content-transfer-encoding; bh=pHu1u9K2k9daHpg0+z7kryrl0ilVKJndHCBiqWfnNq0=; b=KDL8r1bUwGQxHWxkxXYHlnkWZU42r/XEuL2ZYv+KZ4/vpg1E1vGEuCTcUaAk0i51m+ o9YLOFBqckCfSFQMh8so0eQ/WXzPnBQ16JWZX/KIhNhE7aLNhIvpUF+RVdOOZBjFq7N9 UslygXEL9j0Uj8HRmpTZ7cLBQlv2PRQGufoMsHanluooRjKJmOv36hnqfcKvvQ5QDkae m2+mOfesRle2aN6+kI7bsQtbm7pFH89gz8b+Clgw5iEOZKbPZTk/wqcXe66cSRzS0AeC SeypIxAzHCoMGa2MvFJ9c+MFKldn9Dw2zI2oadsAo9ivyuG6dWOYjlWRbfkxI+sIG8AW 5pTQ==
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>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120717 Thunderbird/14.0
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()?


Thanks,
David Daney

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