Re: Annotate PCI fixups with __devinit instead of __init |
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
On Sun, Jun 3, 2012 at 11:48 AM, Sebastian Andrzej Siewior
<sebastian@xxxxxxxxxxxxx> wrote:
> This patch series adds a section missmatch check to modpost which will
> splat a warning if a PCI fixup routine (declared via
> DECLARE_PCI_FIXUP_HEADER for instance) is defined in __init. Even if the
> platform does not support hot-plug, one could remove the PCI bus during
> run time (soft remove, now HW touching involved) and rediscover it again.
> The rediscover process will call the PCI-fixups again.
> This is patch #1. After posting it Bjorn ask for fixing the noisy warnings
> and this is done by patch #2 to #9.
These all look good to me.
There's not a real dependency between #1 and the rest of them, so I
propose that I feed #2-9 through the PCI tree and whoever normally
handles modpost can take #1.
Bjorn
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Linux USB Devel]
[Linux Media]
[Video for Linux]
[Linux Audio Users]
[Photo]
[Yosemite News]
[Yosemite Photos]
[Free Online Dating]
[Linux Kernel]
[Linux SCSI]
[XFree86]