Re: 2.6.31-rc9 breaks gianfar

From: David Miller
Date: Sun Sep 06 2009 - 04:42:17 EST

From: Michael Guntsche <mike@xxxxxxxxxxxx>
Date: Sun, 6 Sep 2009 09:27:08 +0200

Please also report networking bugs to netdev@xxxxxxxxxxxxxxx
and CC: the person who commited the problematic commit.

> Commit
> 38bddf04bcfe661fbdab94888c3b72c32f6873b3 gianfar: gfar_remove needs to call unregister_netdev()
> breaks the build of the gianfar driver because "dev" is undefined in
> this function. To quickly test rc9 I changed this to priv->ndev but I do
> not know if this is the correct one.

Toru-chan, did you even compile test this again current kernels?

I'll commit the following fix and push it to Linus, thanks.