Re: [PATCH net-next v7 3/3] net: stmmac: dwmac-nuvoton: Add dwmac glue for Nuvoton MA35 family
From: Jakub Kicinski
Date: Tue Jan 14 2025 - 18:33:36 EST
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