Skip to content

Commit

Permalink
net: freescale: ucc_geth: Use the correct type to store WoL opts
Browse files Browse the repository at this point in the history
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 <maxime.chevallier@bootlin.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Maxime Chevallier authored and David S. Miller committed Dec 6, 2024
1 parent d2adc44 commit 420d56e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ethernet/freescale/ucc_geth.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 420d56e

Please sign in to comment.