linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Vlad Buslov <vladbu@nvidia.com>
Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com,
	Linux Memory Management List <linux-mm@kvack.org>,
	Saeed Mahameed <saeedm@nvidia.com>,
	Dmytro Linkin <dlinkin@nvidia.com>, Roi Dayan <roid@nvidia.com>
Subject: [linux-next:master 8486/10581] ld.lld: error: duplicate symbol: mlx5e_tc_tun_update_header_ipv6
Date: Sat, 13 Feb 2021 00:18:15 +0800	[thread overview]
Message-ID: <202102130008.jqXCF0h8-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 5779 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   671176b0016c80b3943cb5387312c886aba3308d
commit: c7b9038d8af68e351e09a8427fa0264be8dc811f [8486/10581] net/mlx5e: TC preparation refactoring for routing update event
config: x86_64-randconfig-a014-20210212 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project c9439ca36342fb6013187d0a69aef92736951476)
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
        # install x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=c7b9038d8af68e351e09a8427fa0264be8dc811f
        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 c7b9038d8af68e351e09a8427fa0264be8dc811f
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All error/warnings (new ones prefixed by >>):

   In file included from drivers/net/ethernet/mellanox/mlx5/core/en_rx.c:41:
   In file included from drivers/net/ethernet/mellanox/mlx5/core/en_tc.h:40:
>> drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.h:78:5: warning: no previous prototype for function 'mlx5e_tc_tun_update_header_ipv6' [-Wmissing-prototypes]
   int mlx5e_tc_tun_update_header_ipv6(struct mlx5e_priv *priv,
       ^
   drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.h:78:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   int mlx5e_tc_tun_update_header_ipv6(struct mlx5e_priv *priv,
   ^
   static 
   1 warning generated.
--
   In file included from drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c:41:
   drivers/net/ethernet/mellanox/mlx5/core/esw/indir_table.h:34:1: warning: no previous prototype for function 'mlx5_esw_indir_table_init' [-Wmissing-prototypes]
   mlx5_esw_indir_table_init(void)
   ^
   drivers/net/ethernet/mellanox/mlx5/core/esw/indir_table.h:33:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   struct mlx5_esw_indir_table *
   ^
   static 
   drivers/net/ethernet/mellanox/mlx5/core/esw/indir_table.h:40:1: warning: no previous prototype for function 'mlx5_esw_indir_table_destroy' [-Wmissing-prototypes]
   mlx5_esw_indir_table_destroy(struct mlx5_esw_indir_table *indir)
   ^
   drivers/net/ethernet/mellanox/mlx5/core/esw/indir_table.h:39:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   void
   ^
   static 
   drivers/net/ethernet/mellanox/mlx5/core/esw/indir_table.h:61:1: warning: no previous prototype for function 'mlx5_esw_indir_table_needed' [-Wmissing-prototypes]
   mlx5_esw_indir_table_needed(struct mlx5_eswitch *esw,
   ^
   drivers/net/ethernet/mellanox/mlx5/core/esw/indir_table.h:60:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   bool
   ^
   static 
   In file included from drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c:50:
   In file included from drivers/net/ethernet/mellanox/mlx5/core/en_tc.h:40:
>> drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.h:78:5: warning: no previous prototype for function 'mlx5e_tc_tun_update_header_ipv6' [-Wmissing-prototypes]
   int mlx5e_tc_tun_update_header_ipv6(struct mlx5e_priv *priv,
       ^
   drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.h:78:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   int mlx5e_tc_tun_update_header_ipv6(struct mlx5e_priv *priv,
   ^
   static 
   4 warnings generated.
--
>> ld.lld: error: duplicate symbol: mlx5e_tc_tun_update_header_ipv6
   >>> defined at tc_tun.h:81 (drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.h:81)
   >>> drivers/net/ethernet/mellanox/mlx5/core/en_main.o:(mlx5e_tc_tun_update_header_ipv6)
   >>> defined at tc_tun.h:81 (drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.h:81)
   >>> drivers/net/ethernet/mellanox/mlx5/core/en_rx.o:(.text+0x0)
--
>> ld.lld: error: duplicate symbol: mlx5e_tc_tun_update_header_ipv6
   >>> defined at tc_tun.h:81 (drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.h:81)
   >>> drivers/net/ethernet/mellanox/mlx5/core/en_main.o:(mlx5e_tc_tun_update_header_ipv6)
   >>> defined at tc_tun.h:81 (drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.h:81)
   >>> drivers/net/ethernet/mellanox/mlx5/core/en_rep.o:(.text+0x0)
--
>> ld.lld: error: duplicate symbol: mlx5e_tc_tun_update_header_ipv6
   >>> defined at tc_tun.h:81 (drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.h:81)
   >>> drivers/net/ethernet/mellanox/mlx5/core/en_main.o:(mlx5e_tc_tun_update_header_ipv6)
   >>> defined at tc_tun.h:81 (drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.h:81)
   >>> drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.o:(.text+0x16)
--
>> ld.lld: error: duplicate symbol: mlx5e_tc_tun_update_header_ipv6
   >>> defined at tc_tun.h:81 (drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.h:81)
   >>> drivers/net/ethernet/mellanox/mlx5/core/en_main.o:(mlx5e_tc_tun_update_header_ipv6)
   >>> defined at tc_tun.h:81 (drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.h:81)
   >>> drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads_termtbl.o:(.text+0x0)

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 34901 bytes --]

                 reply	other threads:[~2021-02-12 16:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202102130008.jqXCF0h8-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=clang-built-linux@googlegroups.com \
    --cc=dlinkin@nvidia.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-mm@kvack.org \
    --cc=roid@nvidia.com \
    --cc=saeedm@nvidia.com \
    --cc=vladbu@nvidia.com \
    /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