summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2026-03-05 10:43:02 +0000
committerJakub Kicinski <kuba@kernel.org>2026-03-06 15:39:10 -0800
commite4fd855c52ec5af34d920206190be29919fadca3 (patch)
tree763a14552bc94e7516a06178dbe9735f9ce9cf03 /include/uapi
parent3cd963fa915c494a6d0da0287bd10cb6f2204f9e (diff)
net: stmmac: make pcs_mask and phy_mask u32
The PCS and PHY masks are passed to the mdio bus layer as phy_mask to prevent bus addresses between 0 and 31 inclusive being scanned, and this is declared as u32. Also declare these as u32 in stmmac for type consistency. Since this is a u32, use BIT_U32() rather than BIT() to generate values for these fields. Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com> Tested-by: Maxime Chevallier <maxime.chevallier@bootlin.com> Link: https://patch.msgid.link/E1vy6AY-0000000BtxJ-3smT@rmk-PC.armlinux.org.uk Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions