tree:
https://github.com/congwang/linux.git sockmap3
head: b73e57d78e1e62177ef68b9150c4d547f0fd14c0
commit: 4522965795e30d32a526f829846ad6f24cc6a1ea [2/9] af_unix: implement
->psock_update_sk_prot()
config: arm-randconfig-r025-20210420 (attached as .config)
compiler: clang version 13.0.0 (
https://github.com/llvm/llvm-project
ca8eef7e3da8f750d7c7aa004fe426d1d34787ea)
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 arm cross compiling tool for clang build
# apt-get install binutils-arm-linux-gnueabi
#
https://github.com/congwang/linux/commit/4522965795e30d32a526f829846ad6f2...
git remote add congwang
https://github.com/congwang/linux.git
git fetch --no-tags congwang sockmap3
git checkout 4522965795e30d32a526f829846ad6f24cc6a1ea
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=arm
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/unix/unix_bpf.c:16:17: error: use of undeclared identifier
'sock_map_close'; did you mean 'sk_msg_clone'?
prot->close = sock_map_close;
^~~~~~~~~~~~~~
sk_msg_clone
include/linux/skmsg.h:113:5: note: 'sk_msg_clone' declared here
int sk_msg_clone(struct sock *sk, struct sk_msg *dst, struct sk_msg *src,
^
1 error generated.
vim +16 net/unix/unix_bpf.c
12
13 static void unix_bpf_rebuild_protos(struct proto *prot, const struct proto *base)
14 {
15 *prot = *base;
16 prot->close = sock_map_close;
17 }
18
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org