[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202112080624.nH4NZavB-lkp@intel.com>
Date: Wed, 8 Dec 2021 06:07:52 +0800
From: kernel test robot <lkp@...el.com>
To: Chuck Lever <chuck.lever@...cle.com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [cel:topic-rpc-with-tls 8/8] net/sunrpc/svcauth.c:39:10: error:
'RPC_AUTH_TLS' undeclared here (not in a function); did you mean
'RPC_AUTH_GSS'?
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-lkp@intel.com/config)
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=21c40b0003975c1afe4b59126aba2c547103ccae
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@...el.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
Powered by blists - more mailing lists