Hi Jiri,
[FYI, it's a private test report for your RFC patch.]
[auto build test WARNING on net-next/master]
url:
https://github.com/0day-ci/linux/commits/Jiri-Pirko/introduce-line-card-s...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git
f50e2f9f791647aa4e5b19d0064f5cabf630bf6e
config: nios2-allyesconfig (attached as .config)
compiler: nios2-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/0day-ci/linux/commit/9e90bcbbf46d028ac585fa0fb3558524b...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Jiri-Pirko/introduce-line-card-support-for-modular-switch/20210113-201955
git checkout 9e90bcbbf46d028ac585fa0fb3558524bd6df63c
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=nios2
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 >>):
> drivers/net/netdevsim/dev.c:1165:21: warning: initialization
discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
1165 | .supported_types = nsim_dev_linecard_supported_types,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/const +1165 drivers/net/netdevsim/dev.c
1163
1164 static const struct devlink_linecard_ops nsim_dev_linecard_ops = {
1165 .supported_types = nsim_dev_linecard_supported_types,
1166 .supported_types_count = ARRAY_SIZE(nsim_dev_linecard_supported_types),
1167 .provision = nsim_dev_linecard_provision,
1168 .unprovision = nsim_dev_linecard_unprovision,
1169 };
1170
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org