Hi Tony,
[FYI, it's a private test report for your RFC patch.]
[auto build test ERROR on net-next/master]
url:
https://github.com/0day-ci/linux/commits/Tony-Lu/net-smc-Unbind-buffer-si...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git
89f971182417cb27abd82cfc48a7f36b99352ddc
config: mips-randconfig-r032-20211122 (attached as .config)
compiler: mips64el-linux-gcc (GCC) 11.2.0
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/f8b865aff3164098137794ac439371b23...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Tony-Lu/net-smc-Unbind-buffer-size-from-clcsock-and-make-it-tunable/20211122-215118
git checkout f8b865aff3164098137794ac439371b2391c836b
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir
ARCH=mips SHELL=/bin/bash net/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All error/warnings (new ones prefixed by >>):
net/smc/smc_sysctl.c: In function 'smc_sysctl_init_net':
> net/smc/smc_sysctl.c:50:17: error: 'struct netns_smc' has
no member named 'smc_hdr'
50 | net->smc.smc_hdr =
register_net_sysctl(net, "net/smc", table);
| ^
net/smc/smc_sysctl.c:51:22: error: 'struct netns_smc' has no member named
'smc_hdr'
51 | if (!net->smc.smc_hdr)
| ^
net/smc/smc_sysctl.c: In function 'smc_sysctl_exit_net':
net/smc/smc_sysctl.c:65:45: error: 'struct netns_smc' has no member named
'smc_hdr'
65 | unregister_net_sysctl_table(net->smc.smc_hdr);
| ^
net/smc/smc_sysctl.c: At top level:
net/smc/smc_sysctl.c:73:12: warning: no previous prototype for
'smc_sysctl_init' [-Wmissing-prototypes]
73 | int __init smc_sysctl_init(void)
| ^~~~~~~~~~~~~~~
net/smc/smc_sysctl.c:78:6: warning: no previous prototype for 'smc_sysctl_exit'
[-Wmissing-prototypes]
78 | void smc_sysctl_exit(void)
| ^~~~~~~~~~~~~~~
--
In file included from net/smc/af_smc.c:54:
> net/smc/smc_sysctl.h:13:5: warning: no previous prototype for
'smc_sysctl_init' [-Wmissing-prototypes]
13 | int
smc_sysctl_init(void)
| ^~~~~~~~~~~~~~~
> net/smc/smc_sysctl.h:18:6: warning: no previous prototype for
'smc_sysctl_exit' [-Wmissing-prototypes]
18 | void
smc_sysctl_exit(void) { }
| ^~~~~~~~~~~~~~~
vim +50 net/smc/smc_sysctl.c
33
34 static __net_init int smc_sysctl_init_net(struct net *net)
35 {
36 struct ctl_table *table;
37
38 table = smc_table;
39 if (!net_eq(net, &init_net)) {
40 int i;
41
42 table = kmemdup(table, sizeof(smc_table), GFP_KERNEL);
43 if (!table)
44 goto err_alloc;
45
46 for (i = 0; i < ARRAY_SIZE(smc_table) - 1; i++)
47 table[i].data += (void *)net - (void *)&init_net;
48 }
49
50 net->smc.smc_hdr = register_net_sysctl(net,
"net/smc", table);
51 if (!net->smc.smc_hdr)
52 goto err_reg;
53
54 return 0;
55
56 err_reg:
57 if (!net_eq(net, &init_net))
58 kfree(table);
59 err_alloc:
60 return -ENOMEM;
61 }
62
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org