Re: [PATCH 7/26] wusb: Use skcipher

From: kbuild test robot
Date: Sun Jan 24 2016 - 08:39:13 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-x016-201604 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64

All errors (new ones prefixed by >>):

drivers/usb/wusbcore/crypto.c: In function 'wusb_ccm_mac':
>> drivers/usb/wusbcore/crypto.c:266:2: error: implicit declaration of function 'skcipher_request_zero' [-Werror=implicit-function-declaration]
skcipher_request_zero(req);
^
cc1: some warnings being treated as errors

vim +/skcipher_request_zero +266 drivers/usb/wusbcore/crypto.c

260 sg_init_one(&sg_dst, dst_buf, dst_size);
261
262 skcipher_request_set_tfm(req, tfm_cbc);
263 skcipher_request_set_callback(req, 0, NULL, NULL);
264 skcipher_request_set_crypt(req, sg, &sg_dst, dst_size, iv);
265 result = crypto_skcipher_encrypt(req);
> 266 skcipher_request_zero(req);
267 if (result < 0) {
268 printk(KERN_ERR "E: can't compute CBC-MAC tag (MIC): %d\n",
269 result);

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

Attachment: .config.gz
Description: Binary data