[PATCH] net: freescale: ucc_geth: make ugeth_mac_ops be static
Maxime Chevallier
maxime.chevallier at bootlin.com
Fri Feb 14 19:27:21 AEDT 2025
Hi,
On Fri, 14 Feb 2025 14:11:07 +0800
xiaopeitux at foxmail.com wrote:
> From: Pei Xiao <xiaopei01 at kylinos.cn>
>
> 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 <lkp at intel.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202502141128.9HfxcdIE-lkp@intel.com/
> Fixes: 53036aa8d031 ("net: freescale: ucc_geth: phylink conversion")
> Signed-off-by: Pei Xiao <xiaopei01 at kylinos.cn>
Thanks for fixing this,
Reviewed-by: Maxime Chevallier <maxime.chevallier at bootlin.com>
Maxime
More information about the Linuxppc-dev
mailing list