lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202111232112.j3yZPaVD-lkp@intel.com>
Date:   Tue, 23 Nov 2021 22:00:57 +0800
From:   kernel test robot <lkp@...el.com>
To:     Yajun Deng <yajun.deng@...ux.dev>
Cc:     llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
        netdev@...r.kernel.org
Subject: [net-next:master 20/31] net/ipv4/arp.c:1412:36: warning: unused
 variable 'arp_seq_ops'

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-lkp@intel.com/config.gz)
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/?id=e968b1b3e9b86c4751faea019a5d340fee9e9142
        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@...el.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@...ux-foundation.org>
:::::: CC: David S. Miller <davem@...set.davemloft.net>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ