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

2025-02-18 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Mon, 17 Feb 2025 09:29:30 +0800 you wrote: > 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.

[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