Re: [Patch V5 1/7] crypto: Multi-buffer encryption infrastructure support
From: kbuild test robot
Date: Thu Apr 20 2017 - 23:03:18 EST
Hi Megha,
[auto build test ERROR on next-20170420]
[also build test ERROR on v4.11-rc7]
[cannot apply to crypto/master sparc-next/master v4.9-rc8 v4.9-rc7 v4.9-rc6]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Megha-Dey/crypto-AES-CBC-multibuffer-implementation/20170421-064210
config: arm64-defconfig (attached as .config)
compiler: aarch64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=arm64
All errors (new ones prefixed by >>):
crypto/built-in.o: In function `simd_skcipher_exit_mb':
>> crypto/simd.c:267: undefined reference to `mcryptd_free_skcipher'
crypto/simd.c:267:(.text+0x12624): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `mcryptd_free_skcipher'
crypto/built-in.o: In function `simd_skcipher_init_mb':
>> crypto/simd.c:282: undefined reference to `mcryptd_alloc_skcipher'
crypto/simd.c:282:(.text+0x12650): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `mcryptd_alloc_skcipher'
vim +267 crypto/simd.c
261 }
262
263 static void simd_skcipher_exit_mb(struct crypto_skcipher *tfm)
264 {
265 struct simd_skcipher_ctx_mb *ctx = crypto_skcipher_ctx(tfm);
266
> 267 mcryptd_free_skcipher(ctx->mcryptd_tfm);
268 }
269
270 static int simd_skcipher_init_mb(struct crypto_skcipher *tfm)
271 {
272 struct simd_skcipher_ctx_mb *ctx = crypto_skcipher_ctx(tfm);
273 struct mcryptd_skcipher *mcryptd_tfm;
274 struct simd_skcipher_alg *salg;
275 struct skcipher_alg *alg;
276 unsigned reqsize;
277 struct mcryptd_skcipher_ctx *mctx;
278
279 alg = crypto_skcipher_alg(tfm);
280 salg = container_of(alg, struct simd_skcipher_alg, alg);
281
> 282 mcryptd_tfm = mcryptd_alloc_skcipher(salg->ialg_name,
283 CRYPTO_ALG_INTERNAL,
284 CRYPTO_ALG_INTERNAL);
285 if (IS_ERR(mcryptd_tfm))
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip