tree:
https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master
head: 2106efda785b55a8957efed9a52dfa28ee0d7280
commit: e968b1b3e9b86c4751faea019a5d340fee9e9142 [20/31] arp: Remove #ifdef
CONFIG_PROC_FS
config: hexagon-buildonly-randconfig-r006-20211123
(
https://download.01.org/0day-ci/archive/20211123/202111232112.j3yZPaVD-lk...)
compiler: clang version 14.0.0 (
https://github.com/llvm/llvm-project
49e3838145dff1ec91c2e67a2cb562775c8d2a08)
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/davem/net-next.git/commit...
git remote add net-next
https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git
git fetch --no-tags net-next master
git checkout e968b1b3e9b86c4751faea019a5d340fee9e9142
# save the config file to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=hexagon
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 >>):
> net/ipv4/arp.c:1412:36: warning: unused variable
'arp_seq_ops' [-Wunused-const-variable]
static const struct
seq_operations arp_seq_ops = {
^
1 warning generated.
vim +/arp_seq_ops +1412 net/ipv4/arp.c
^1da177e4c3f415 Linus Torvalds 2005-04-16 1411
f690808e17925fc Stephen Hemminger 2007-03-12 @1412 static const struct seq_operations
arp_seq_ops = {
^1da177e4c3f415 Linus Torvalds 2005-04-16 1413 .start = arp_seq_start,
^1da177e4c3f415 Linus Torvalds 2005-04-16 1414 .next = neigh_seq_next,
^1da177e4c3f415 Linus Torvalds 2005-04-16 1415 .stop = neigh_seq_stop,
^1da177e4c3f415 Linus Torvalds 2005-04-16 1416 .show = arp_seq_show,
^1da177e4c3f415 Linus Torvalds 2005-04-16 1417 };
^1da177e4c3f415 Linus Torvalds 2005-04-16 1418
:::::: The code at line 1412 was first introduced by commit
:::::: f690808e17925fc45217eb22e8670902ecee5c1b [NET]: make seq_operations const
:::::: TO: Stephen Hemminger <shemminger(a)linux-foundation.org>
:::::: CC: David S. Miller <davem(a)sunset.davemloft.net>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org