RE: [PATCH net-next] r8169: add support for rtl8168h(revid 0x2a) + rtl8211fs fiber application

From: Hau
Date: Fri Jul 22 2022 - 11:23:26 EST


> On Thu, 21 Jul 2022 22:45:50 +0800 Chunhao Lin wrote:
> > rtl8168h(revid 0x2a) + rtl8211fs is for fiber related application.
> > rtl8168h will control rtl8211fs via its eeprom or gpo pins.
> > Fiber module will be connected to rtl8211fs. The link speed between
> > rtl8168h and rtl8211fs is decied by fiber module.
>
> Compiler says:
>
> drivers/net/ethernet/realtek/r8169_main.c:614:24: warning: symbol
> 'rtl_sfp_if_eeprom_mask' was not declared. Should it be static?
> drivers/net/ethernet/realtek/r8169_main.c:617:24: warning: symbol
> 'rtl_sfp_if_gpo_mask' was not declared. Should it be static?
>

I will change code to use static my next patch.

------Please consider the environment before printing this e-mail.