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

From: Kyle Switch

Date: Mon Nov 30 2026 - 02:36:25 EST



On 11/12/26 00:54, David Yang wrote:
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.
Sorry for late response, I'll remove this change and update the commit message
accordingly.