On Mon, 13 Jan 2025 13:54:34 +0800 Joey Lu wrote:Got it!
+ regmap_write(bsp_priv->regmap,This is a pretty long line and you do it twice, so save the address
+ macid == 0 ? NVT_REG_SYS_GMAC0MISCR : NVT_REG_SYS_GMAC1MISCR, reg);
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")