linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [hare-scsi-devel:tls-upcall.v4 127/156] include/net/tls.h:374:1: error: unknown type name 'key_ref_t'; did you mean 'key_ref_put'?
@ 2022-03-13 14:35 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-03-13 14:35 UTC (permalink / raw)
  To: Hannes Reinecke; +Cc: kbuild-all, linux-kernel

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/hare/scsi-devel.git tls-upcall.v4
head:   d2416ecdb6b03fc2e4aa40b20cdf919322713224
commit: 97a450fed0d4ce4978d51685dcca85f9e8b71811 [127/156] net/tls: register '.tls' keyring
config: arc-defconfig (https://download.01.org/0day-ci/archive/20220313/202203132226.RxMqrn2n-lkp@intel.com/config)
compiler: arc-elf-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/hare/scsi-devel.git/commit/?id=97a450fed0d4ce4978d51685dcca85f9e8b71811
        git remote add hare-scsi-devel https://git.kernel.org/pub/scm/linux/kernel/git/hare/scsi-devel.git
        git fetch --no-tags hare-scsi-devel tls-upcall.v4
        git checkout 97a450fed0d4ce4978d51685dcca85f9e8b71811
        # 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=arc 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 >>):

   In file included from net/core/filter.c:79:
>> include/net/tls.h:374:1: error: unknown type name 'key_ref_t'; did you mean 'key_ref_put'?
     374 | key_ref_t tls_psk_refresh(char *identity, u8 *data, size_t data_len);
         | ^~~~~~~~~
         | key_ref_put
   include/net/tls.h:375:1: error: unknown type name 'key_ref_t'; did you mean 'key_ref_put'?
     375 | key_ref_t tls_psk_lookup(char *identity);
         | ^~~~~~~~~
         | key_ref_put


vim +374 include/net/tls.h

   370	
   371	int tlsh_pf_create(struct net *net, struct socket *sock, int protocol,
   372			   int kern);
   373	
 > 374	key_ref_t tls_psk_refresh(char *identity, u8 *data, size_t data_len);
   375	key_ref_t tls_psk_lookup(char *identity);
   376	

---
0-DAY CI Kernel Test Service
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:[~2022-03-13 14:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-13 14:35 [hare-scsi-devel:tls-upcall.v4 127/156] include/net/tls.h:374:1: error: unknown type name 'key_ref_t'; did you mean 'key_ref_put'? 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).