[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250114153323.527d4f63@kernel.org>
Date: Tue, 14 Jan 2025 15:33:23 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Joey Lu <a0987203069@...il.com>
Cc: andrew+netdev@...n.ch, davem@...emloft.net, edumazet@...gle.com,
pabeni@...hat.com, robh@...nel.org, krzk+dt@...nel.org,
conor+dt@...nel.org, mcoquelin.stm32@...il.com, richardcochran@...il.com,
alexandre.torgue@...s.st.com, joabreu@...opsys.com, ychuang3@...oton.com,
schung@...oton.com, yclu4@...oton.com, peppe.cavallaro@...com,
linux-arm-kernel@...ts.infradead.org, netdev@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
openbmc@...ts.ozlabs.org, linux-stm32@...md-mailman.stormreply.com, Andrew
Lunn <andrew@...n.ch>
Subject: Re: [PATCH net-next v7 3/3] net: stmmac: dwmac-nuvoton: Add dwmac
glue for Nuvoton MA35 family
On Mon, 13 Jan 2025 13:54:34 +0800 Joey Lu wrote:
> + regmap_write(bsp_priv->regmap,
> + macid == 0 ? NVT_REG_SYS_GMAC0MISCR : NVT_REG_SYS_GMAC1MISCR, reg);
This is a pretty long line and you do it twice, so save the address
to a temp variable, pls
> +MODULE_LICENSE("GPL v2");
checkpatch insists:
WARNING: Prefer "GPL" over "GPL v2" - see commit bf7fbeeae6db ("module: Cure the MODULE_LICENSE "GPL" vs. "GPL v2" bogosity")
--
pw-bot: cr
Powered by blists - more mailing lists