tree:
https://github.com/multipath-tcp/mptcp_net-next.git export
head: 6c723e9819cfcbf50da3779b526928008ad1b6d8
commit: 34ca65352ddf2aaa094f4016369103c4c7b98958 [980/1097] net/mlx5: E-Switch, Indirect
table infrastructure
config: sparc-randconfig-r015-20210209 (attached as .config)
compiler: sparc64-linux-gcc (GCC) 9.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://github.com/multipath-tcp/mptcp_net-next/commit/34ca65352ddf2aaa09...
git remote add mptcp
https://github.com/multipath-tcp/mptcp_net-next.git
git fetch --no-tags mptcp export
git checkout 34ca65352ddf2aaa094f4016369103c4c7b98958
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=sparc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
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 'mlx5_esw_indir_table_init'
[-Wmissing-prototypes]
34 | mlx5_esw_indir_table_init(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
> drivers/net/ethernet/mellanox/mlx5/core/esw/indir_table.h:40:1:
warning: no previous prototype for 'mlx5_esw_indir_table_destroy'
[-Wmissing-prototypes]
40 | mlx5_esw_indir_table_destroy(struct
mlx5_esw_indir_table *indir)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
> drivers/net/ethernet/mellanox/mlx5/core/esw/indir_table.h:61:1:
warning: no previous prototype for 'mlx5_esw_indir_table_needed'
[-Wmissing-prototypes]
61 | mlx5_esw_indir_table_needed(struct mlx5_eswitch
*esw,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for COMPAT_BINFMT_ELF
Depends on COMPAT && BINFMT_ELF
Selected by
- COMPAT && SPARC64
vim +/mlx5_esw_indir_table_init +34
drivers/net/ethernet/mellanox/mlx5/core/esw/indir_table.h
30
31 #else
32 /* indir API stubs */
33 struct mlx5_esw_indir_table *
34 mlx5_esw_indir_table_init(void)
35 {
36 return NULL;
37 }
38
39 void
40 mlx5_esw_indir_table_destroy(struct mlx5_esw_indir_table *indir)
41 {
42 }
43
44 static inline struct mlx5_flow_table *
45 mlx5_esw_indir_table_get(struct mlx5_eswitch *esw,
46 struct mlx5_flow_attr *attr,
47 struct mlx5_flow_spec *spec,
48 u16 vport, bool decap)
49 {
50 return ERR_PTR(-EOPNOTSUPP);
51 }
52
53 static inline void
54 mlx5_esw_indir_table_put(struct mlx5_eswitch *esw,
55 struct mlx5_flow_attr *attr,
56 u16 vport, bool decap)
57 {
58 }
59
60 bool
61 mlx5_esw_indir_table_needed(struct mlx5_eswitch *esw,
62 struct mlx5_flow_attr *attr,
63 u16 vport_num,
64 struct mlx5_core_dev *dest_mdev)
65 {
66 return false;
67 }
68
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org