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@xxxxxxxxx> 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:
.config.gz
Description: application/gzip