From: Sebastian Hesselbarth Date: Fri, 14 Mar 2014 09:07:44 +0000 (+0100) Subject: net: phy: fix uninitalized ethtool_wolinfo in phy_suspend X-Git-Tag: v3.14-rc8~3^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32fc3fd41ae44a41ffb8fd5ec4f4764822104655;p=pandora-kernel.git net: phy: fix uninitalized ethtool_wolinfo in phy_suspend Callers of phy_ethtool_get_wol are supposed to provide a properly cleared struct ethtool_wolinfo. Therefore, fix phy_suspend to clear it before passing it to phy_ethtool_get_wol. Signed-off-by: Sebastian Hesselbarth Reviewed-by: Ben Hutchings Signed-off-by: David S. Miller --- Reading git-diff-tree failed