linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [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'?
@ 2021-12-07 22:07 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-12-07 22:07 UTC (permalink / raw)
  To: Chuck Lever; +Cc: kbuild-all, linux-kernel

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@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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-12-07 22:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-07 22:07 [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'? kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).