linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Vladimir Oltean <vladimir.oltean@nxp.com>
To: kernel test robot <lkp@intel.com>
Cc: oe-kbuild-all@lists.linux.dev,
	Linux Memory Management List <linux-mm@kvack.org>
Subject: Re: [linux-next:master 6983/7678] ocelot_stats.c:undefined reference to `ethtool_aggregate_pause_stats'
Date: Wed, 25 Jan 2023 13:03:46 +0200	[thread overview]
Message-ID: <20230125110346.xltago5o2gxxg5vo@skbuf> (raw)
In-Reply-To: <202301251054.zZwhG2Yz-lkp@intel.com>

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/


      reply	other threads:[~2023-01-25 11:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-25  2:06 kernel test robot
2023-01-25 11:03 ` Vladimir Oltean [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230125110346.xltago5o2gxxg5vo@skbuf \
    --to=vladimir.oltean@nxp.com \
    --cc=linux-mm@kvack.org \
    --cc=lkp@intel.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox