[PATCH] ibm_newemac: Don't call dev_mc_add() before device is registered

Jeff Garzik jgarzik at pobox.com
Wed Aug 27 19:56:28 EST 2008


Benjamin Herrenschmidt wrote:
> We must not call dev_mc_add() from within our HW configure which happens
> before we initialize and register the netdev. Do it in open() instead.
> 
> Thanks to Sebastian Siewior for tracking it down. 
> 
> Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
> ---
> 
> This fixes an uninitialized spinlock warning (and possibly more).
> 
> Please apply.

applied





More information about the Linuxppc-dev mailing list