From: Maxime Chevallier Date: Tue, 3 Dec 2024 12:43:16 +0000 (+0100) Subject: net: freescale: ucc_geth: Use the correct type to store WoL opts X-Git-Tag: v6.14-rc1~162^2~274^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=420d56e4de5247b78fa1e1d5084f246e547e95a9;p=thirdparty%2Fkernel%2Fstable.git net: freescale: ucc_geth: Use the correct type to store WoL opts The WoL opts are represented through a bitmask stored in a u32. As this mask is copied as-is in the driver, make sure we use the exact same type to store them internally. Signed-off-by: Maxime Chevallier Reviewed-by: Andrew Lunn Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/freescale/ucc_geth.h b/drivers/net/ethernet/freescale/ucc_geth.h index e08cfc8d8904b..60fd804a616a3 100644 --- a/drivers/net/ethernet/freescale/ucc_geth.h +++ b/drivers/net/ethernet/freescale/ucc_geth.h @@ -1216,7 +1216,7 @@ struct ucc_geth_private { int oldspeed; int oldduplex; int oldlink; - int wol_en; + u32 wol_en; u32 phy_wol_en; struct device_node *node;