Hi Florian,
[FYI, it's a private test report for your RFC patch.]
[auto build test ERROR on nf-next/master]
url:
https://github.com/0day-ci/linux/commits/Florian-Westphal/netfilter-bpf-b...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next.git master
config: hexagon-randconfig-r041-20211014 (attached as .config)
compiler: clang version 14.0.0 (
https://github.com/llvm/llvm-project
6c76d0101193aa4eb891a6954ff047eda2f9cf71)
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/95fd31a5f5e86a1918a80e1b99333877a...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Florian-Westphal/netfilter-bpf-base-hook-program-generator/20211014-201309
git checkout 95fd31a5f5e86a1918a80e1b99333877a09e1a4e
# 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(a)intel.com>
All errors (new ones prefixed by >>):
> net/ipv6/ila/ila_xlat.c:197:11: error: incompatible function
pointer types initializing 'nf_hookfn *' (aka 'unsigned int (*)(const struct
nf_hook_state *)') with an expression of type 'unsigned int (void *, struct
sk_buff *, const struct nf_hook_state *)'
[-Werror,-Wincompatible-function-pointer-types]
.hook =
ila_nf_input,
^~~~~~~~~~~~
1 error generated.
vim +197 net/ipv6/ila/ila_xlat.c
7f00feaf107645 Tom Herbert 2015-12-15 194
591bb2789bc2a9 Florian Westphal 2017-07-26 195 static const struct nf_hook_ops
ila_nf_hook_ops[] = {
7f00feaf107645 Tom Herbert 2015-12-15 196 {
7f00feaf107645 Tom Herbert 2015-12-15 @197 .hook = ila_nf_input,
7f00feaf107645 Tom Herbert 2015-12-15 198 .pf = NFPROTO_IPV6,
7f00feaf107645 Tom Herbert 2015-12-15 199 .hooknum = NF_INET_PRE_ROUTING,
7f00feaf107645 Tom Herbert 2015-12-15 200 .priority = -1,
7f00feaf107645 Tom Herbert 2015-12-15 201 },
7f00feaf107645 Tom Herbert 2015-12-15 202 };
7f00feaf107645 Tom Herbert 2015-12-15 203
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org