All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-next:master 6983/7678] ocelot_stats.c:undefined reference to `ethtool_aggregate_pause_stats'
@ 2023-01-25  2:06 kernel test robot
  2023-01-25 11:03 ` Vladimir Oltean
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2023-01-25  2:06 UTC (permalink / raw)
  To: Vladimir Oltean; +Cc: oe-kbuild-all, Linux Memory Management List

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@intel.com/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@intel.com>

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [linux-next:master 6983/7678] ocelot_stats.c:undefined reference to `ethtool_aggregate_pause_stats'
  2023-01-25  2:06 [linux-next:master 6983/7678] ocelot_stats.c:undefined reference to `ethtool_aggregate_pause_stats' kernel test robot
@ 2023-01-25 11:03 ` Vladimir Oltean
  0 siblings, 0 replies; 2+ messages in thread
From: Vladimir Oltean @ 2023-01-25 11:03 UTC (permalink / raw)
  To: kernel test robot; +Cc: oe-kbuild-all, Linux Memory Management List

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@intel.com/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@intel.com>
> 
> 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@nxp.com/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-01-25 11:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-25  2:06 [linux-next:master 6983/7678] ocelot_stats.c:undefined reference to `ethtool_aggregate_pause_stats' kernel test robot
2023-01-25 11:03 ` Vladimir Oltean

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.