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

From: Maxime Chevallier
Date: Fri Feb 14 2025 - 03:27:40 EST


Hi,

On Fri, 14 Feb 2025 14:11:07 +0800
xiaopeitux@xxxxxxxxxxx wrote:

> From: Pei Xiao <xiaopei01@xxxxxxxxxx>
>
> 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@xxxxxxxxx>
> Closes: https://lore.kernel.org/oe-kbuild-all/202502141128.9HfxcdIE-lkp@xxxxxxxxx/
> Fixes: 53036aa8d031 ("net: freescale: ucc_geth: phylink conversion")
> Signed-off-by: Pei Xiao <xiaopei01@xxxxxxxxxx>

Thanks for fixing this,

Reviewed-by: Maxime Chevallier <maxime.chevallier@xxxxxxxxxxx>

Maxime