Hi Paolo,
[FYI, it's a private test report for your RFC patch.]
[auto build test WARNING on net/master]
[also build test WARNING on net-next/master ipvs/master linus/master v5.13 next-20210709]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url:
https://github.com/0day-ci/linux/commits/Paolo-Abeni/veth-more-flexible-c...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git
2b452550a203d88112eaf0ba9fc4b750a000b496
config: x86_64-rhel-8.3-kselftests (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.3-341-g8af24329-dirty
#
https://github.com/0day-ci/linux/commit/6256f5f16e2e81592bafc2b33401c8659...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Paolo-Abeni/veth-more-flexible-channels-number-configuration/20210709-174314
git checkout 6256f5f16e2e81592bafc2b33401c86591362c89
# save the attached .config to linux build tree
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir
ARCH=x86_64 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
sparse warnings: (new ones prefixed by >>)
drivers/net/veth.c:264:37: sparse: sparse: incorrect type in argument 1 (different
address spaces) @@ expected struct net_device const *dev @@ got struct net_device
[noderef] __rcu *peer @@
drivers/net/veth.c:264:37: sparse: expected struct net_device const *dev
drivers/net/veth.c:264:37: sparse: got struct net_device [noderef] __rcu *peer
> drivers/net/veth.c:1670:14: sparse: sparse: symbol
'veth_get_num_tx_queues' was not declared. Should it be static?
drivers/net/veth.c:261:51: sparse: sparse: dereference of noderef expression
drivers/net/veth.c:265:56: sparse: sparse: dereference of noderef expression
Please review and possibly fold the followup patch.
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org