linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [linux-next:master 8486/10581] ld.lld: error: duplicate symbol: mlx5e_tc_tun_update_header_ipv6
@ 2021-02-12 16:18 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-02-12 16:18 UTC (permalink / raw)
  To: Vlad Buslov
  Cc: kbuild-all, clang-built-linux, Linux Memory Management List,
	Saeed Mahameed, Dmytro Linkin, Roi Dayan

[-- 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 --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-02-12 16:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-12 16:18 [linux-next:master 8486/10581] ld.lld: error: duplicate symbol: mlx5e_tc_tun_update_header_ipv6 kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox