[PATCH] net: phy: fix uninitalized ethtool_wolinfo in phy_suspend

David Miller davem at davemloft.net
Fri Mar 14 22:39:25 EDT 2014


From: Sebastian Hesselbarth <sebastian.hesselbarth at gmail.com>
Date: Fri, 14 Mar 2014 10:07:44 +0100

> 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 <sebastian.hesselbarth at gmail.com>

Applied, thanks.



More information about the linux-arm-kernel mailing list