tree:
git://git.kernel.org/pub/scm/linux/kernel/git/cel/linux topic-rpc-with-tls
head: 21c40b0003975c1afe4b59126aba2c547103ccae
commit: 21c40b0003975c1afe4b59126aba2c547103ccae [8/8] SUNRPC: Teach server to recognize
RPC_AUTH_TLS
config: sh-allmodconfig
(
https://download.01.org/0day-ci/archive/20211208/202112080624.nH4NZavB-lk...)
compiler: sh4-linux-gcc (GCC) 11.2.0
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
#
https://git.kernel.org/pub/scm/linux/kernel/git/cel/linux.git/commit/?id=...
git remote add cel
git://git.kernel.org/pub/scm/linux/kernel/git/cel/linux
git fetch --no-tags cel topic-rpc-with-tls
git checkout 21c40b0003975c1afe4b59126aba2c547103ccae
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir
ARCH=sh SHELL=/bin/bash net/sunrpc/
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/sunrpc/svcauth.c:39:10: error: 'RPC_AUTH_TLS'
undeclared here (not in a function); did you mean 'RPC_AUTH_GSS'?
39 |
[RPC_AUTH_TLS] = (struct auth_ops __force __rcu *)&svcauth_tls,
| ^~~~~~~~~~~~
| RPC_AUTH_GSS
> net/sunrpc/svcauth.c:39:10: error: array index in initializer not
of integer type
net/sunrpc/svcauth.c:39:10: note: (near initialization for
'authtab')
--
net/sunrpc/svcauth_unix.c: In function 'svcauth_tls_accept':
> net/sunrpc/svcauth_unix.c:842:36: error: 'RPC_AUTH_TLS'
undeclared (first use in this function); did you mean 'RPC_AUTH_GSS'?
842 | rqstp->rq_cred.cr_flavor = RPC_AUTH_TLS;
| ^~~~~~~~~~~~
| RPC_AUTH_GSS
net/sunrpc/svcauth_unix.c:842:36: note: each undeclared identifier is reported only
once for each function it appears in
net/sunrpc/svcauth_unix.c: At top level:
> net/sunrpc/svcauth_unix.c:849:27: error: 'RPC_AUTH_TLS'
undeclared here (not in a function); did you mean 'RPC_AUTH_GSS'?
849 |
.flavour = RPC_AUTH_TLS,
| ^~~~~~~~~~~~
| RPC_AUTH_GSS
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for CRYPTO_SHA1_SSSE3
Depends on CRYPTO && X86 && 64BIT
Selected by
- TLS_HANDSHAKE && NET && TLS && TLS_SOFTIRQ
vim +39 net/sunrpc/svcauth.c
35
36 static struct auth_ops __rcu *authtab[RPC_AUTH_MAXFLAVOR] = {
37 [RPC_AUTH_NULL] = (struct auth_ops __force __rcu *)&svcauth_null,
38 [RPC_AUTH_UNIX] = (struct auth_ops __force __rcu *)&svcauth_unix,
39 [RPC_AUTH_TLS] = (struct auth_ops __force __rcu
*)&svcauth_tls,
40 };
41
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org