[Top] [All Lists]

PCI Section mismatch error in linux-next.

To: Thierry Reding <>, Bjorn Helgaas <>, Ralf Baechle <>,
Subject: PCI Section mismatch error in linux-next.
From: David Daney <>
Date: Fri, 17 Aug 2012 10:36:21 -0700
Cc: linux-mips <>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; 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: <>
List-help: <>
List-id: linux-mips <>
List-owner: <>
List-post: <>
List-software: Ecartis version 1.0.0
List-subscribe: <>
List-unsubscribe: <>
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()?

David Daney

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