From: Russell King Date: Mon, 7 Jul 2014 23:22:59 +0000 (+0100) Subject: net: fec: ensure that a disconnected phy isn't configured X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2~222^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b146ca8d467c1dc6ad50628089d183608a47e40;p=pandora-kernel.git net: fec: ensure that a disconnected phy isn't configured When we disconnect from a phy, we should forget our pointer to it so we don't accidentally try to configure it. We handle a NULL phy pointer correctly in most places, except fec_enet_set_pauseparam(). Fix this too. Acked-by: Fugang Duan Signed-off-by: Russell King Signed-off-by: David S. Miller --- Reading git-diff-tree failed