]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: freescale: ucc_geth: Use the correct type to store WoL opts
authorMaxime Chevallier <maxime.chevallier@bootlin.com>
Tue, 3 Dec 2024 12:43:16 +0000 (13:43 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 6 Dec 2024 13:41:52 +0000 (13:41 +0000)
commit420d56e4de5247b78fa1e1d5084f246e547e95a9
tree6c9c288b8132482907915c359001052f255f052f
parentd2adc441a19a592ce104e2b257ad9d002eaec53f
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 <maxime.chevallier@bootlin.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/ucc_geth.h