From: kernel test robot <lkp@intel.com>
To: Chuck Lever <chuck.lever@oracle.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: [cel:topic-rpc-with-tls-upcall 18/19] net/sunrpc/xprtsock.c:2257: undefined reference to `tls_client_hello_user'
Date: Thu, 13 Jan 2022 20:05:47 +0800 [thread overview]
Message-ID: <202201131908.bylSNIA1-lkp@intel.com> (raw)
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
reply other threads:[~2022-01-13 12:06 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202201131908.bylSNIA1-lkp@intel.com \
--to=lkp@intel.com \
--cc=chuck.lever@oracle.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome