[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202510170321.YvES75vr-lkp@intel.com>
Date: Fri, 17 Oct 2025 03:28:56 +0800
From: kernel test robot <lkp@...el.com>
To: Saeed Mahameed <saeed@...nel.org>,
"David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
Eric Dumazet <edumazet@...gle.com>
Cc: oe-kbuild-all@...ts.linux.dev, netdev@...r.kernel.org,
Saeed Mahameed <saeedm@...dia.com>,
Tariq Toukan <tariqt@...dia.com>, Gal Pressman <gal@...dia.com>,
Leon Romanovsky <leonro@...dia.com>, mbloch@...dia.com,
Adithya Jayachandran <ajayachandra@...dia.com>
Subject: Re: [PATCH net-next 2/3] net/mlx5: MPFS, add support for dynamic
enable/disable
Hi Saeed,
kernel test robot noticed the following build warnings:
[auto build test WARNING on net-next/main]
url: https://github.com/intel-lab-lkp/linux/commits/Saeed-Mahameed/devlink-Introduce-devlink-eswitch-state/20251016-094245
base: net-next/main
patch link: https://lore.kernel.org/r/20251016013618.2030940-3-saeed%40kernel.org
patch subject: [PATCH net-next 2/3] net/mlx5: MPFS, add support for dynamic enable/disable
config: powerpc-randconfig-001-20251017 (https://download.01.org/0day-ci/archive/20251017/202510170321.YvES75vr-lkp@intel.com/config)
compiler: powerpc-linux-gcc (GCC) 14.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251017/202510170321.YvES75vr-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202510170321.YvES75vr-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from drivers/net/ethernet/mellanox/mlx5/core/eswitch.h:45,
from drivers/net/ethernet/mellanox/mlx5/core/vport.c:39:
>> drivers/net/ethernet/mellanox/mlx5/core/lib/mpfs.h:97:5: warning: no previous prototype for 'mlx5_mpfs_enable' [-Wmissing-prototypes]
97 | int mlx5_mpfs_enable(struct mlx5_core_dev *dev) { return 0; }
| ^~~~~~~~~~~~~~~~
>> drivers/net/ethernet/mellanox/mlx5/core/lib/mpfs.h:98:6: warning: no previous prototype for 'mlx5_mpfs_disable' [-Wmissing-prototypes]
98 | void mlx5_mpfs_disable(struct mlx5_core_dev *dev) {}
| ^~~~~~~~~~~~~~~~~
vim +/mlx5_mpfs_enable +97 drivers/net/ethernet/mellanox/mlx5/core/lib/mpfs.h
87
88 #ifdef CONFIG_MLX5_MPFS
89 struct mlx5_core_dev;
90 int mlx5_mpfs_init(struct mlx5_core_dev *dev);
91 void mlx5_mpfs_cleanup(struct mlx5_core_dev *dev);
92 int mlx5_mpfs_enable(struct mlx5_core_dev *dev);
93 void mlx5_mpfs_disable(struct mlx5_core_dev *dev);
94 #else /* #ifndef CONFIG_MLX5_MPFS */
95 static inline int mlx5_mpfs_init(struct mlx5_core_dev *dev) { return 0; }
96 static inline void mlx5_mpfs_cleanup(struct mlx5_core_dev *dev) {}
> 97 int mlx5_mpfs_enable(struct mlx5_core_dev *dev) { return 0; }
> 98 void mlx5_mpfs_disable(struct mlx5_core_dev *dev) {}
99 #endif
100
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists