Re: Buggy PCI drivers - do not mark pci_device_id as discardabledata

From: Zwane Mwaikambo
Date: Tue Sep 09 2003 - 16:33:38 EST


On Tue, 9 Sep 2003, Alan Cox wrote:

> On Maw, 2003-09-09 at 22:04, Russell King wrote:
> > I want this to be foolproof, because its me people bug when their cardbus
> > cards oops when they insert the damned things. If people are happy to
> > ignore this issue, I'm happy to ignore the bug reports.
> >
> > It basically isn't something I want to deal with, and we need to find a
> > way to stop these stupidities appearing in the first place.
> >
> > Any ideas?
>
> You've already got symbols for initdata start and end, just check the
> pointers in the pci_register code. I guess you want a per platform
>
> BUG_IF_INIT(x)

I hacked up something similar, but i'm not sure what to do about modules.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/