Re: x86/mce: machine check warning during poweroff

From: Tony Luck
Date: Sat Jan 14 2012 - 21:05:53 EST


On Sat, Jan 14, 2012 at 8:30 AM, Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> wrote:
> The driver core isn't designed to handle device structures that get
> unregistered and then spring back to life; callers are supposed to
> allocate a fresh new structure instead.

Does every caller use "kzalloc()" for this fresh new structure (or even
for the original registration) rather than "kmalloc()"?

-Tony
--
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/