Thread (18 messages) 18 messages, 5 authors, 2026-03-06

Re: [PATCH net-next v2 8/8] net: stmmac: make pcs_mask and phy_mask u32

From: Maxime Chevallier <maxime.chevallier@bootlin.com>
Date: 2026-03-06 13:32:29
Also in: linux-arm-kernel, linux-sunxi

Hi,

On 05/03/2026 11:43, Russell King (Oracle) wrote:
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) <redacted>
Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com>

Maxime
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help