# Re: \[PATCH 21/26\] nfc: s3fwrn5: Use shash

- From: kbuild test robot \<hidden\>
- Date: 2016-01-24 13:50:09 
- List: linux-crypto
- Page: https://ratatoskr.run/linux-crypto/2016/01/4667069
- Thread: https://ratatoskr.run/linux-crypto/2016/01/4667032/t.md

```text
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/nfc/s3fwrn5/firmware.c: In function 's3fwrn5_fw_download':
>> drivers/nfc/s3fwrn5/firmware.c:456:3: error: implicit declaration of function 'shash_desc_zero' [-Werror=implicit-function-declaration]
      shash_desc_zero(desc);
      ^
   cc1: some warnings being treated as errors

vim +/shash_desc_zero +456 drivers/nfc/s3fwrn5/firmware.c

   450	
   451			desc->tfm = tfm;
   452			desc->flags = CRYPTO_TFM_REQ_MAY_SLEEP;
   453	
   454			ret = crypto_shash_digest(desc, fw->image, image_size,
   455						  hash_data);
 > 456			shash_desc_zero(desc);
   457		}
   458	
   459		crypto_free_shash(tfm);

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

## Attachments

- [.config.gz](https://ratatoskr.run/linux-crypto/2016/01/4667069/attachment/0) (application/octet-stream, 27046 bytes)
- [(unnamed)](https://ratatoskr.run/linux-crypto/2016/01/4667069/attachment/1) (text/plain, 169 bytes)
