Re: [PATCH] net: freescale: ucc_geth: make ugeth_mac_ops be static

2025-02-14 Thread Andrew Lunn
On Fri, Feb 14, 2025 at 02:11:07PM +0800, xiaopei...@foxmail.com wrote: > From: Pei Xiao > > sparse warning: > sparse: symbol 'ugeth_mac_ops' was not declared. Should it be > static. > > Add static to fix sparse warnings. While you are touching it, can it also be made const? struct phylink

[PATCH] net: freescale: ucc_geth: make ugeth_mac_ops be static

2025-02-14 Thread xiaopeitux
From: Pei Xiao sparse warning: sparse: symbol 'ugeth_mac_ops' was not declared. Should it be static. Add static to fix sparse warnings. Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202502141128.9hfxcdie-...@intel.com/ Fixes: 53036aa8d031 ("net: freescale: u

Re: [PATCH] net: freescale: ucc_geth: make ugeth_mac_ops be static

2025-02-14 Thread Maxime Chevallier
Hi, On Fri, 14 Feb 2025 14:11:07 +0800 xiaopei...@foxmail.com wrote: > From: Pei Xiao > > sparse warning: > sparse: symbol 'ugeth_mac_ops' was not declared. Should it be > static. > > Add static to fix sparse warnings. > > Reported-by: kernel test robot > Closes: > https://lore.kernel.o