Re: [linux-next:master 6983/7678] ocelot_stats.c:undefined reference to `ethtool_aggregate_pause_stats'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jan 25, 2023 at 10:06:59AM +0800, kernel test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> head:   a54df7622717a40ddec95fd98086aff8ba7839a6
> commit: ab3f97a9610a8d90dc9934517e82c3272d4e98a0 [6983/7678] net: mscc: ocelot: export ethtool MAC Merge stats for Felix VSC9959
> config: nios2-randconfig-r016-20230123 (https://download.01.org/0day-ci/archive/20230125/202301251054.zZwhG2Yz-lkp@xxxxxxxxx/config)
> compiler: nios2-linux-gcc (GCC) 12.1.0
> reproduce (this is a W=1 build):
>         wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
>         chmod +x ~/bin/make.cross
>         # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=ab3f97a9610a8d90dc9934517e82c3272d4e98a0
>         git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
>         git fetch --no-tags linux-next master
>         git checkout ab3f97a9610a8d90dc9934517e82c3272d4e98a0
>         # save the config file
>         mkdir build_dir && cp config build_dir/.config
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=nios2 olddefconfig
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=nios2 SHELL=/bin/bash
> 
> If you fix the issue, kindly add following tag where applicable
> | Reported-by: kernel test robot <lkp@xxxxxxxxx>
> 
> All errors (new ones prefixed by >>):
> 
>    nios2-linux-ld: drivers/net/ethernet/mscc/ocelot_stats.o: in function `ocelot_port_get_pause_stats':
> >> ocelot_stats.c:(.text+0xc5c): undefined reference to `ethtool_aggregate_pause_stats'
>    ocelot_stats.c:(.text+0xc5c): relocation truncated to fit: R_NIOS2_CALL26 against `ethtool_aggregate_pause_stats'
>    nios2-linux-ld: drivers/net/ethernet/mscc/ocelot_stats.o: in function `ocelot_port_get_rmon_stats':
> >> ocelot_stats.c:(.text+0xd10): undefined reference to `ethtool_aggregate_rmon_stats'
>    ocelot_stats.c:(.text+0xd10): relocation truncated to fit: R_NIOS2_CALL26 against `ethtool_aggregate_rmon_stats'
>    nios2-linux-ld: drivers/net/ethernet/mscc/ocelot_stats.o: in function `ocelot_port_get_eth_ctrl_stats':
> >> ocelot_stats.c:(.text+0xd88): undefined reference to `ethtool_aggregate_ctrl_stats'
>    ocelot_stats.c:(.text+0xd88): relocation truncated to fit: R_NIOS2_CALL26 against `ethtool_aggregate_ctrl_stats'
>    nios2-linux-ld: drivers/net/ethernet/mscc/ocelot_stats.o: in function `ocelot_port_get_eth_mac_stats':
> >> ocelot_stats.c:(.text+0xe00): undefined reference to `ethtool_aggregate_mac_stats'
>    ocelot_stats.c:(.text+0xe00): relocation truncated to fit: R_NIOS2_CALL26 against `ethtool_aggregate_mac_stats'
>    nios2-linux-ld: drivers/net/ethernet/mscc/ocelot_stats.o: in function `ocelot_port_get_eth_phy_stats':
> >> ocelot_stats.c:(.text+0xe78): undefined reference to `ethtool_aggregate_phy_stats'
>    ocelot_stats.c:(.text+0xe78): relocation truncated to fit: R_NIOS2_CALL26 against `ethtool_aggregate_phy_stats'
> 
> -- 
> 0-DAY CI Kernel Test Service
> https://github.com/intel/lkp-tests

Sent this patch to address the issue:
https://patchwork.kernel.org/project/netdevbpf/patch/20230125110214.4127759-1-vladimir.oltean@xxxxxxx/




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux