From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0C23DC433F5 for ; Fri, 20 May 2022 14:16:54 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 402646B007D; Fri, 20 May 2022 10:16:54 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 3AD4A6B007E; Fri, 20 May 2022 10:16:54 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 277286B0080; Fri, 20 May 2022 10:16:54 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id 17A2E6B007D for ; Fri, 20 May 2022 10:16:54 -0400 (EDT) Received: from smtpin13.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id EBEB221AD0 for ; Fri, 20 May 2022 14:16:53 +0000 (UTC) X-FDA: 79486322706.13.DF508A9 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by imf31.hostedemail.com (Postfix) with ESMTP id 4BCAB2001C for ; Fri, 20 May 2022 14:16:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653056211; x=1684592211; h=date:from:to:cc:subject:message-id:mime-version; bh=zCYnKuMablSOfWXfkTZ6AdGvulVhkDaKFWDJ5bqwa2A=; b=X0T82H5eMLtt64UeE15G4L6KaUk6ZmUAJ4g7SImKfIx8f45wIrK8Bh+1 GqfRE/x5z4gtNgy00m5Kq1R6sWFKcNovw1d3g1N42vXfGf2tNVYn3NFNx KnDsBEXiW51xGwJ7SVQW5B17tkMvJ6frBHNqMutTLN04fkwhcCotPoCxT SCTkHDnROVU2GHX59W6wak2BN0UWAbntyOMrriVvMw/TeZnmTwGWebped 48pINxBjlFds8QV/PKkVPj26vLrrb0ZPpNDX/oVCdP9W68r9+PVAdyEmM O8MtSNd4ylS6MFqO4rCex4PPW90ObGwA07U0phXnu1xoAipvjkRFS+j1g A==; X-IronPort-AV: E=McAfee;i="6400,9594,10353"; a="272594029" X-IronPort-AV: E=Sophos;i="5.91,239,1647327600"; d="scan'208";a="272594029" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 May 2022 07:16:48 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,239,1647327600"; d="scan'208";a="743512681" Received: from lkp-server02.sh.intel.com (HELO 242b25809ac7) ([10.239.97.151]) by orsmga005.jf.intel.com with ESMTP; 20 May 2022 07:16:47 -0700 Received: from kbuild by 242b25809ac7 with local (Exim 4.95) (envelope-from ) id 1ns3Qs-0004mM-V7; Fri, 20 May 2022 14:16:46 +0000 Date: Fri, 20 May 2022 22:16:25 +0800 From: kernel test robot To: Eli Cohen Cc: kbuild-all@lists.01.org, Linux Memory Management List , Saeed Mahameed , Mark Bloch Subject: [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 Message-ID: <202205202242.jpG3zD2s-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Rspamd-Server: rspam05 X-Rspamd-Queue-Id: 4BCAB2001C X-Rspam-User: Authentication-Results: imf31.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=X0T82H5e; spf=none (imf31.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 134.134.136.65) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com X-Stat-Signature: inbm3knhwztgy9t3jwhkzqri7m49g719 X-HE-Tag: 1653056180-982626 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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 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