All of lore.kernel.org
 help / color / mirror / Atom feed
* [cryptodev:master 95/102] arch/arm64/crypto/aes-glue.c:88:2: error: implicit declaration of function 'xts_check_key'
@ 2016-02-18  4:35 kbuild test robot
  2016-02-18  8:13 ` Stephan Mueller
  0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2016-02-18  4:35 UTC (permalink / raw)
  To: Stephan Mueller; +Cc: kbuild-all, linux-crypto, Herbert Xu

[-- Attachment #1: Type: text/plain, Size: 1578 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git master
head:   49abc0d2e19b28e90f443334fb6cd66f275713e6
commit: 28856a9e52c7cac712af6c143de04766617535dc [95/102] crypto: xts - consolidate sanity check for keys
config: arm64-defconfig (attached as .config)
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 28856a9e52c7cac712af6c143de04766617535dc
        # save the attached .config to linux build tree
        make.cross ARCH=arm64 

Note: the cryptodev/master HEAD 49abc0d2e19b28e90f443334fb6cd66f275713e6 builds fine.
      It only hurts bisectibility.

All errors (new ones prefixed by >>):

   arch/arm64/crypto/aes-glue.c: In function 'xts_set_key':
>> arch/arm64/crypto/aes-glue.c:88:2: error: implicit declaration of function 'xts_check_key' [-Werror=implicit-function-declaration]
     ret = xts_check_key(tfm, in_key, key_len);
     ^
   cc1: some warnings being treated as errors

vim +/xts_check_key +88 arch/arm64/crypto/aes-glue.c

    82	static int xts_set_key(struct crypto_tfm *tfm, const u8 *in_key,
    83			       unsigned int key_len)
    84	{
    85		struct crypto_aes_xts_ctx *ctx = crypto_tfm_ctx(tfm);
    86		int ret;
    87	
  > 88		ret = xts_check_key(tfm, in_key, key_len);
    89		if (ret)
    90			return ret;
    91	

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

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 20856 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [cryptodev:master 95/102] arch/arm64/crypto/aes-glue.c:88:2: error: implicit declaration of function 'xts_check_key'
  2016-02-18  4:35 [cryptodev:master 95/102] arch/arm64/crypto/aes-glue.c:88:2: error: implicit declaration of function 'xts_check_key' kbuild test robot
@ 2016-02-18  8:13 ` Stephan Mueller
  0 siblings, 0 replies; 2+ messages in thread
From: Stephan Mueller @ 2016-02-18  8:13 UTC (permalink / raw)
  To: kbuild test robot; +Cc: kbuild-all, linux-crypto, Herbert Xu

Am Donnerstag, 18. Februar 2016, 12:35:33 schrieb kbuild test robot:

Hi,

> tree:  
> https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
> master head:   49abc0d2e19b28e90f443334fb6cd66f275713e6
> commit: 28856a9e52c7cac712af6c143de04766617535dc [95/102] crypto: xts -
> consolidate sanity check for keys config: arm64-defconfig (attached as
> .config)
> reproduce:
>         wget
> https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/m
> ake.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross
>         git checkout 28856a9e52c7cac712af6c143de04766617535dc
>         # save the attached .config to linux build tree
>         make.cross ARCH=arm64
> 
> Note: the cryptodev/master HEAD 49abc0d2e19b28e90f443334fb6cd66f275713e6
> builds fine. It only hurts bisectibility.
> 
> All errors (new ones prefixed by >>):
> 
>    arch/arm64/crypto/aes-glue.c: In function 'xts_set_key':
> >> arch/arm64/crypto/aes-glue.c:88:2: error: implicit declaration of
> >> function 'xts_check_key' [-Werror=implicit-function-declaration]

With the patch sent and added yesterday that covered the addition of 
crypto/xts.h to arch/arm64/crypto/aes-glue.c, this error should be covered.

Did you use the cryptodev-2.6 tree from yesterday?

Thanks

>      ret = xts_check_key(tfm, in_key, key_len);
>      ^
>    cc1: some warnings being treated as errors
> 
> vim +/xts_check_key +88 arch/arm64/crypto/aes-glue.c
> 
>     82	static int xts_set_key(struct crypto_tfm *tfm, const u8 
*in_key,
>     83			       unsigned int key_len)
>     84	{
>     85		struct crypto_aes_xts_ctx *ctx = crypto_tfm_ctx(tfm);
>     86		int ret;
>     87
> 
>   > 88		ret = xts_check_key(tfm, in_key, key_len);
> 
>     89		if (ret)
>     90			return ret;
>     91
> 
> ---
> 0-DAY kernel test infrastructure                Open Source Technology
> Center https://lists.01.org/pipermail/kbuild-all                   Intel
> Corporation


Ciao
Stephan

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-02-18  8:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-18  4:35 [cryptodev:master 95/102] arch/arm64/crypto/aes-glue.c:88:2: error: implicit declaration of function 'xts_check_key' kbuild test robot
2016-02-18  8:13 ` Stephan Mueller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.