* [cryptodev:master 198/206] arch/s390/crypto/aes_s390.c:589:41: error: 'XTS_BLOCKSIZE' undeclared; did you mean 'XTS_BLOCK_SIZE'?
@ 2019-08-22 10:17 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-08-22 10:17 UTC (permalink / raw)
To: Ard Biesheuvel; +Cc: kbuild-all, linux-crypto, Herbert Xu
[-- Attachment #1: Type: text/plain, Size: 3208 bytes --]
tree: https://kernel.googlesource.com/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git master
head: 08c327f63f355fce190ac3e1ac62e19d2c5f004d
commit: ce68acbcb6a5d5dbaa9e76df924e1c191e8c7516 [198/206] crypto: s390/xts-aes - invoke fallback for ciphertext stealing
config: s390-debug_defconfig (attached as .config)
compiler: s390-linux-gcc (GCC) 7.4.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout ce68acbcb6a5d5dbaa9e76df924e1c191e8c7516
# save the attached .config to linux build tree
GCC_VERSION=7.4.0 make.cross ARCH=s390
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
In file included from arch/s390/include/asm/atomic.h:12:0,
from include/linux/atomic.h:7,
from include/linux/crypto.h:15,
from include/crypto/aes.h:10,
from arch/s390/crypto/aes_s390.c:20:
arch/s390/crypto/aes_s390.c: In function 'xts_aes_encrypt':
>> arch/s390/crypto/aes_s390.c:589:41: error: 'XTS_BLOCKSIZE' undeclared (first use in this function); did you mean 'XTS_BLOCK_SIZE'?
if (unlikely(!xts_ctx->fc || (nbytes % XTS_BLOCKSIZE) != 0))
^
include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
arch/s390/crypto/aes_s390.c:589:41: note: each undeclared identifier is reported only once for each function it appears in
if (unlikely(!xts_ctx->fc || (nbytes % XTS_BLOCKSIZE) != 0))
^
include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
arch/s390/crypto/aes_s390.c: In function 'xts_aes_decrypt':
arch/s390/crypto/aes_s390.c:603:41: error: 'XTS_BLOCKSIZE' undeclared (first use in this function); did you mean 'XTS_BLOCK_SIZE'?
if (unlikely(!xts_ctx->fc || (nbytes % XTS_BLOCKSIZE) != 0))
^
include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
vim +589 arch/s390/crypto/aes_s390.c
581
582 static int xts_aes_encrypt(struct blkcipher_desc *desc,
583 struct scatterlist *dst, struct scatterlist *src,
584 unsigned int nbytes)
585 {
586 struct s390_xts_ctx *xts_ctx = crypto_blkcipher_ctx(desc->tfm);
587 struct blkcipher_walk walk;
588
> 589 if (unlikely(!xts_ctx->fc || (nbytes % XTS_BLOCKSIZE) != 0))
590 return xts_fallback_encrypt(desc, dst, src, nbytes);
591
592 blkcipher_walk_init(&walk, dst, src, nbytes);
593 return xts_aes_crypt(desc, 0, &walk);
594 }
595
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 20411 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-08-22 10:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-22 10:17 [cryptodev:master 198/206] arch/s390/crypto/aes_s390.c:589:41: error: 'XTS_BLOCKSIZE' undeclared; did you mean 'XTS_BLOCK_SIZE'? kbuild 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).