Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1366852

Re: [PATCH v3 7/7] crypto: AF_ALG - add support for key_id

From kbuild test robot <lkp@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH v3 7/7] crypto: AF_ALG - add support for key_id
Date 2016-03-30 04:00 +0200
Message-ID <ridAl-6zf-3@gated-at.bofh.it> (permalink)
References <ricNX-6eI-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi Tadeusz,

[auto build test ERROR on v4.6-rc1]
[also build test ERROR on next-20160329]
[cannot apply to crypto/master]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/Tadeusz-Struk/crypto-algif-add-akcipher/20160330-090754
config: i386-randconfig-i1-03292045 (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All error/warnings (new ones prefixed by >>):

   In file included from crypto/af_alg.c:26:0:
   include/keys/asymmetric-type.h: In function 'asymmetric_key_ids':
>> include/keys/asymmetric-type.h:74:12: error: dereferencing pointer to incomplete type 'const struct key'
     return key->payload.data[asym_key_ids];
               ^
   crypto/af_alg.c: In function 'alg_setkey_id':
>> crypto/af_alg.c:217:12: error: implicit declaration of function 'request_key' [-Werror=implicit-function-declaration]
     keyring = request_key(&key_type_asymmetric, key_name, NULL);
               ^
>> crypto/af_alg.c:217:10: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
     keyring = request_key(&key_type_asymmetric, key_name, NULL);
             ^
>> crypto/af_alg.c:223:16: error: dereferencing pointer to incomplete type 'struct key'
     pkey = keyring->payload.data[asym_crypto];
                   ^
   cc1: some warnings being treated as errors

vim +74 include/keys/asymmetric-type.h

7901c1a8 David Howells 2014-09-16  68  							    size_t len_1,
7901c1a8 David Howells 2014-09-16  69  							    const void *val_2,
7901c1a8 David Howells 2014-09-16  70  							    size_t len_2);
146aa8b1 David Howells 2015-10-21  71  static inline
146aa8b1 David Howells 2015-10-21  72  const struct asymmetric_key_ids *asymmetric_key_ids(const struct key *key)
146aa8b1 David Howells 2015-10-21  73  {
146aa8b1 David Howells 2015-10-21 @74  	return key->payload.data[asym_key_ids];
146aa8b1 David Howells 2015-10-21  75  }
7901c1a8 David Howells 2014-09-16  76  
7901c1a8 David Howells 2014-09-16  77  /*

:::::: The code at line 74 was first introduced by commit
:::::: 146aa8b1453bd8f1ff2304ffb71b4ee0eb9acdcc KEYS: Merge the type-specific data with the payload data

:::::: TO: David Howells <dhowells@redhat.com>
:::::: CC: David Howells <dhowells@redhat.com>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v3 7/7] crypto: AF_ALG - add support for key_id Tadeusz Struk <tadeusz.struk@intel.com> - 2016-03-30 03:10 +0200
  Re: [PATCH v3 7/7] crypto: AF_ALG - add support for key_id kbuild test robot <lkp@intel.com> - 2016-03-30 04:00 +0200
    Re: [PATCH v3 7/7] crypto: AF_ALG - add support for key_id Tadeusz Struk <tadeusz.struk@intel.com> - 2016-03-30 05:00 +0200
  Re: [PATCH v3 7/7] crypto: AF_ALG - add support for key_id kbuild test robot <lkp@intel.com> - 2016-03-30 04:30 +0200
  Re: [PATCH v3 7/7] crypto: AF_ALG - add support for key_id David Howells <dhowells@redhat.com> - 2016-03-30 18:40 +0200
    Re: [PATCH v3 7/7] crypto: AF_ALG - add support for key_id "David Woodhouse" <dwmw2@infradead.org> - 2016-03-30 18:50 +0200
    Re: [PATCH v3 7/7] crypto: AF_ALG - add support for key_id "David Woodhouse" <dwmw2@infradead.org> - 2016-03-30 18:50 +0200
    Re: [PATCH v3 7/7] crypto: AF_ALG - add support for key_id Tadeusz Struk <tadeusz.struk@intel.com> - 2016-03-30 19:30 +0200

csiph-web