Messages in this thread | | | Date | Fri, 4 Feb 2022 20:23:48 +0800 | From | kernel test robot <> | Subject | [cel:topic-rpc-with-tls-upcall 18/20] net/sunrpc/xprtsock.c:2315: undefined reference to `tls_client_hello_user' |
| |
tree: git://git.kernel.org/pub/scm/linux/kernel/git/cel/linux topic-rpc-with-tls-upcall head: 5a02f5044d5953495b63be854083f501c35e9e11 commit: 7d4a29e2fb46b1ff57accdd5daf93441deaae91c [18/20] SUNRPC: RPC client support for TLS handshake upcall config: i386-debian-10.3-kselftests (https://download.01.org/0day-ci/archive/20220204/202202042046.FoUgDgV1-lkp@intel.com/config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce (this is a W=1 build): # https://git.kernel.org/pub/scm/linux/kernel/git/cel/linux.git/commit/?id=7d4a29e2fb46b1ff57accdd5daf93441deaae91c git remote add cel git://git.kernel.org/pub/scm/linux/kernel/git/cel/linux git fetch --no-tags cel topic-rpc-with-tls-upcall git checkout 7d4a29e2fb46b1ff57accdd5daf93441deaae91c # save the config file to linux build tree mkdir build_dir make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
ld: net/sunrpc/xprtsock.o: in function `xs_tcp_tls_handshake_async': >> net/sunrpc/xprtsock.c:2315: undefined reference to `tls_client_hello_user' ld: net/sunrpc/xprtsock.o: in function `xs_tcp_tls_handshake_sync': net/sunrpc/xprtsock.c:2268: undefined reference to `tls_client_hello_user' pahole: .tmp_vmlinux.btf: No such file or directory .btf.vmlinux.bin.o: file not recognized: file format not recognized
vim +2315 net/sunrpc/xprtsock.c
2300 2301 /** 2302 * xs_tcp_tls_handshake_async - Start a TLS handshake 2303 * @xprt: transport on which to perform handshake 2304 * 2305 * Return values: 2306 * %0: Handshake initiated; @xprt will be awoken when it's done. 2307 * Negative errno: handshake was not started. 2308 */ 2309 static int xs_tcp_tls_handshake_async(struct rpc_xprt *xprt) 2310 { 2311 struct sock_xprt *transport = 2312 container_of(xprt, struct sock_xprt, xprt); 2313 2314 transport->recv.handshake_pending = true; > 2315 return tls_client_hello_user(transport->sock, 2316 xs_tcp_tls_handshake_wake, xprt); 2317 } 2318
--- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
| |