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

2025-02-16 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 and add const. phylink_create() will accept a const struct. Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202502141128.9hfx

[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