From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.dvmed.net (srv5.dvmed.net [207.36.208.214]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id F03E0DDE17 for ; Wed, 27 Aug 2008 19:56:35 +1000 (EST) Message-ID: <48B524CC.6020309@pobox.com> Date: Wed, 27 Aug 2008 05:56:28 -0400 From: Jeff Garzik MIME-Version: 1.0 To: benh@kernel.crashing.org Subject: Re: [PATCH] ibm_newemac: Don't call dev_mc_add() before device is registered References: <1219008563.28339.15.camel@pasglop> In-Reply-To: <1219008563.28339.15.camel@pasglop> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Cc: netdev , Sebastian Siewior , linuxppc-dev list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 > --- > > This fixes an uninitialized spinlock warning (and possibly more). > > Please apply. applied