Re: [PATCH 4/26] dm crypt: Use skcipher and ahash

From: kbuild test robot
Date: Sun Jan 24 2016 - 08:42:31 EST


Hi Herbert,

[auto build test ERROR on net/master]
[also build test ERROR on v4.4 next-20160122]
[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/Herbert-Xu/crypto-Use-skcipher-and-ahash-shash-where-possible/20160124-212323
config: x86_64-randconfig-x014-201604 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64

All errors (new ones prefixed by >>):

drivers/md/dm-crypt.c: In function 'crypt_iv_essiv_init':
>> drivers/md/dm-crypt.c:278:2: error: implicit declaration of function 'ahash_request_zero' [-Werror=implicit-function-declaration]
ahash_request_zero(req);
^
cc1: some warnings being treated as errors

vim +/ahash_request_zero +278 drivers/md/dm-crypt.c

272 sg_init_one(&sg, cc->key, cc->key_size);
273 ahash_request_set_tfm(req, essiv->hash_tfm);
274 ahash_request_set_callback(req, CRYPTO_TFM_REQ_MAY_SLEEP, NULL, NULL);
275 ahash_request_set_crypt(req, &sg, essiv->salt, cc->key_size);
276
277 err = crypto_ahash_digest(req);
> 278 ahash_request_zero(req);
279 if (err)
280 return err;
281

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

Attachment: .config.gz
Description: Binary data