Re: [PATCH net-next v17 3/5] net: dsa: motorcomm: use fixed-width GENMASK_U*() helpers

From: David Yang

Date: Wed Nov 11 2026 - 12:22:59 EST


On Thu, Nov 5, 2026 at 11:14 AM Kyle Switch <kyle.switch@xxxxxxxxxxxxxx> wrote:
> --- a/drivers/net/dsa/motorcomm/chip.c
> +++ b/drivers/net/dsa/motorcomm/chip.c
> @@ -2285,7 +2285,7 @@ static int yt921x_chip_setup_dsa(struct yt921x_priv *priv)
> if (res)
> return res;
>
> - ctrl = GENMASK(10, 0);
> + ctrl = GENMASK_U32(10, 0);
> res = yt921x_reg_write(priv, YT921X_FILTER_UNK_UCAST, ctrl);
> if (res)
> return res;

Just removing this line of change will work.