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: <202110130939.GGJnWiAD-lkp@intel.com>
Date:   Wed, 13 Oct 2021 09:53:46 +0800
From:   kernel test robot <lkp@...el.com>
To:     Lukas Wunner <lukas@...ner.de>
Cc:     llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
        linux-kernel@...r.kernel.org,
        Pablo Neira Ayuso <pablo@...filter.org>
Subject: [l1k:nft_egress_v6 3/6] net/netfilter/core.c:353:20: error: unused
 function 'nf_egress_hook'

tree:   https://github.com/l1k/linux nft_egress_v6
head:   c2164307e53a826a4e1a3152e58128561f8ccabd
commit: 700c29bd551c81c325ee11dbc9cf359714add76d [3/6] netfilter: Introduce egress hook
config: hexagon-buildonly-randconfig-r004-20211012 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project c3dcf39554dbea780d6cb7e12239451ba47a2668)
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/l1k/linux/commit/700c29bd551c81c325ee11dbc9cf359714add76d
        git remote add l1k https://github.com/l1k/linux
        git fetch --no-tags l1k nft_egress_v6
        git checkout 700c29bd551c81c325ee11dbc9cf359714add76d
        # save the attached .config 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 errors (new ones prefixed by >>):

   net/netfilter/core.c:344:20: error: unused function 'nf_ingress_hook' [-Werror,-Wunused-function]
   static inline bool nf_ingress_hook(const struct nf_hook_ops *reg, int pf)
                      ^
>> net/netfilter/core.c:353:20: error: unused function 'nf_egress_hook' [-Werror,-Wunused-function]
   static inline bool nf_egress_hook(const struct nf_hook_ops *reg, int pf)
                      ^
   2 errors generated.


vim +/nf_egress_hook +353 net/netfilter/core.c

   352	
 > 353	static inline bool nf_egress_hook(const struct nf_hook_ops *reg, int pf)
   354	{
   355		return pf == NFPROTO_NETDEV && reg->hooknum == NF_NETDEV_EGRESS;
   356	}
   357	

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

Download attachment ".config.gz" of type "application/gzip" (36134 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ