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

Re: [PATCH net-next v2 4/8] net: stmmac: mdio: convert field prep to use field_prep()

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

Hi,

On 05/03/2026 11:42, Russell King (Oracle) wrote:
Convert the MDIO field preparation to use field_prep(), which removes
the need to store separate mask and shifts. Also convert the clk_csr
value using __ffs() to do the shift as we need to detect overflows
for this.

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