linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [linux-next:master 12347/12886] drivers/net/ethernet/mellanox/mlx5/core/lag/mpesw.h:22: multiple definition of `mlx5_lag_mpesw_init'; drivers/net/ethernet/mellanox/mlx5/core/lag/debugfs.o:drivers/net/ethernet/mellanox/mlx5/core/lag/mpesw.h:22: first defined here
@ 2022-05-20 14:16 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-05-20 14:16 UTC (permalink / raw)
  To: Eli Cohen
  Cc: kbuild-all, Linux Memory Management List, Saeed Mahameed, Mark Bloch

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   21498d01d045c5b95b93e0a0625ae965b4330ebe
commit: 94db3317781922ba52722c58061e0e8517d4d80d [12347/12886] net/mlx5: Support multiport eswitch mode
config: alpha-randconfig-r033-20220519 (https://download.01.org/0day-ci/archive/20220520/202205202242.jpG3zD2s-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 11.3.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=94db3317781922ba52722c58061e0e8517d4d80d
        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 94db3317781922ba52722c58061e0e8517d4d80d
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=alpha 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 >>):

   alpha-linux-ld: drivers/net/ethernet/mellanox/mlx5/core/lag/lag.o: in function `mlx5_lag_mpesw_init':
>> drivers/net/ethernet/mellanox/mlx5/core/lag/mpesw.h:22: multiple definition of `mlx5_lag_mpesw_init'; drivers/net/ethernet/mellanox/mlx5/core/lag/debugfs.o:drivers/net/ethernet/mellanox/mlx5/core/lag/mpesw.h:22: first defined here
   alpha-linux-ld: drivers/net/ethernet/mellanox/mlx5/core/lag/lag.o: in function `mlx5_lag_mpesw_cleanup':
>> drivers/net/ethernet/mellanox/mlx5/core/lag/mpesw.h:22: multiple definition of `mlx5_lag_mpesw_cleanup'; drivers/net/ethernet/mellanox/mlx5/core/lag/debugfs.o:drivers/net/ethernet/mellanox/mlx5/core/lag/mpesw.h:22: first defined here


vim +22 drivers/net/ethernet/mellanox/mlx5/core/lag/mpesw.h

    14	
    15	void mlx5_mpesw_work(struct work_struct *work);
    16	int mlx5_lag_do_mirred(struct mlx5_core_dev *mdev, struct net_device *out_dev);
    17	bool mlx5_lag_mpesw_is_activated(struct mlx5_core_dev *dev);
    18	#if IS_ENABLED(CONFIG_MLX5_ESWITCH)
    19	void mlx5_lag_mpesw_init(struct mlx5_lag *ldev);
    20	void mlx5_lag_mpesw_cleanup(struct mlx5_lag *ldev);
    21	#else
  > 22	void mlx5_lag_mpesw_init(struct mlx5_lag *ldev) {}
    23	void mlx5_lag_mpesw_cleanup(struct mlx5_lag *ldev) {}
    24	#endif
    25	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp


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

only message in thread, other threads:[~2022-05-20 14:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-20 14:16 [linux-next:master 12347/12886] drivers/net/ethernet/mellanox/mlx5/core/lag/mpesw.h:22: multiple definition of `mlx5_lag_mpesw_init'; drivers/net/ethernet/mellanox/mlx5/core/lag/debugfs.o:drivers/net/ethernet/mellanox/mlx5/core/lag/mpesw.h:22: first defined here 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