Messages in this thread | | | Date | Thu, 13 Jan 2022 20:05:47 +0800 | From | kernel test robot <> | Subject | [cel:topic-rpc-with-tls-upcall 18/19] net/sunrpc/xprtsock.c:2257: 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: 0fd328ea53e7d539bf8bb160d773e1d027c60fea commit: adb54a631895e050da6ed9a18f9b503f927b642d [18/19] SUNRPC: RPC client support for TLS handshake upcall config: x86_64-rhel-8.3-kselftests (https://download.01.org/0day-ci/archive/20220113/202201131908.bylSNIA1-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=adb54a631895e050da6ed9a18f9b503f927b642d 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 adb54a631895e050da6ed9a18f9b503f927b642d # save the config file to linux build tree mkdir build_dir make W=1 O=build_dir ARCH=x86_64 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_sync': >> net/sunrpc/xprtsock.c:2257: undefined reference to `tls_client_hello_user' ld: net/sunrpc/xprtsock.o: in function `xs_tcp_tls_handshake_async': net/sunrpc/xprtsock.c:2296: 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 +2257 net/sunrpc/xprtsock.c
2239 2240 /** 2241 * xs_tcp_tls_handshake_sync - Perform a full TLS client handshake 2242 * @xprt: transport on which to perform handshake 2243 * 2244 * Return values: 2245 * %0: Handshake completed successfully. 2246 * Negative errno: handshake not started, or failed. 2247 */ 2248 static int xs_tcp_tls_handshake_sync(struct rpc_xprt *xprt) 2249 { 2250 struct sock_xprt *transport = 2251 container_of(xprt, struct sock_xprt, xprt); 2252 int rc; 2253 2254 init_completion(&transport->handshake_done); 2255 2256 transport->xprt_err = -ETIMEDOUT; > 2257 rc = tls_client_hello_user(transport->sock, 2258 xs_tcp_tls_handshake_done, xprt); 2259 if (rc) 2260 return rc; 2261 rc = wait_for_completion_interruptible_timeout(&transport->handshake_done, 2262 XS_TLS_HANDSHAKE_TO); 2263 if (rc < 0) 2264 return rc; 2265 2266 return transport->xprt_err; 2267 } 2268
--- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
| |