tree:
https://git.kernel.org/pub/scm/linux/kernel/git/zx2c4/wireguard-linux.git stable
head: da063960365c1da4ff0375fdf51a3d5d3346d9a7
commit: da063960365c1da4ff0375fdf51a3d5d3346d9a7 [7/7] wireguard: allowedips: allocate
nodes in kmem_cache
config: x86_64-randconfig-a016-20210520 (attached as .config)
compiler: clang version 13.0.0 (
https://github.com/llvm/llvm-project
bf9ef3efaa99c02e7bfc4c57207301b8de39a278)
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
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
#
https://git.kernel.org/pub/scm/linux/kernel/git/zx2c4/wireguard-linux.git...
git remote add zx2c4-wireguard-linux
https://git.kernel.org/pub/scm/linux/kernel/git/zx2c4/wireguard-linux.git
git fetch --no-tags zx2c4-wireguard-linux stable
git checkout da063960365c1da4ff0375fdf51a3d5d3346d9a7
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
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 >>):
> drivers/net/wireguard/main.c:57:1: warning: unused label
'err_selftests' [-Wunused-label]
err_selftests:
^~~~~~~~~~~~~~
1 warning generated.
vim +/err_selftests +57 drivers/net/wireguard/main.c
19
20 static int __init mod_init(void)
21 {
22 int ret;
23
24 ret = wg_allowedips_slab_init();
25 if (ret < 0)
26 goto err_allowedips;
27
28 #ifdef DEBUG
29 ret = -ENOTRECOVERABLE;
30 if (!wg_allowedips_selftest() || !wg_packet_counter_selftest() ||
31 !wg_ratelimiter_selftest())
32 goto err_selftests;
33 #endif
34 wg_noise_init();
35
36 ret = wg_peer_init();
37 if (ret < 0)
38 goto err_peer;
39
40 ret = wg_device_init();
41 if (ret < 0)
42 goto err_device;
43
44 ret = wg_genetlink_init();
45 if (ret < 0)
46 goto err_netlink;
47
48 pr_info("WireGuard " WIREGUARD_VERSION " loaded. See
www.wireguard.com for information.\n");
49 pr_info("Copyright (C) 2015-2019 Jason A. Donenfeld <Jason(a)zx2c4.com>.
All Rights Reserved.\n");
50
51 return 0;
52
53 err_netlink:
54 wg_device_uninit();
55 err_device:
56 wg_peer_uninit();
57 err_selftests:
58 err_peer:
59 wg_allowedips_slab_uninit();
60 err_allowedips:
61 return ret;
62 }
63
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org