Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1638893
| From | kbuild test robot <lkp@intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v1 3/3] crypto: cavium - Register the CNN55XX supported crypto algorithms. |
| Date | 2017-05-10 16:50 +0200 |
| Message-ID | <tFB69-1Xf-15@gated-at.bofh.it> (permalink) |
| References | <tFAjN-1pF-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
Hi Srikanth,
[auto build test WARNING on cryptodev/master]
[also build test WARNING on next-20170510]
[cannot apply to v4.11]
[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/Srikanth-Jampala/crypto-cavium-Add-support-for-CNN55XX-adapters/20170510-211638
base: https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git master
config: i386-defconfig (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
All warnings (new ones prefixed by >>):
In file included from drivers/crypto/cavium/nitrox/nitrox_algs.c:12:0:
drivers/crypto/cavium/nitrox/nitrox_dev.h: In function 'nitrox_read_csr':
drivers/crypto/cavium/nitrox/nitrox_dev.h:159:9: error: implicit declaration of function 'readq' [-Werror=implicit-function-declaration]
return readq(ndev->bar_addr + offset);
^~~~~
drivers/crypto/cavium/nitrox/nitrox_dev.h: In function 'nitrox_write_csr':
drivers/crypto/cavium/nitrox/nitrox_dev.h:171:2: error: implicit declaration of function 'writeq' [-Werror=implicit-function-declaration]
writeq(value, (ndev->bar_addr + offset));
^~~~~~
drivers/crypto/cavium/nitrox/nitrox_algs.c: In function 'nitrox_ablkcipher_exit':
>> drivers/crypto/cavium/nitrox/nitrox_algs.c:117:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
crypto_free_context((void *)inst->u.ctx_handle);
^
cc1: some warnings being treated as errors
vim +117 drivers/crypto/cavium/nitrox/nitrox_algs.c
101 ctx = crypto_alloc_context(inst->ndev);
102 if (!ctx) {
103 nitrox_put_device(inst->ndev);
104 return -ENOMEM;
105 }
106 inst->u.ctx_handle = (uintptr_t)ctx;
107
108 return 0;
109 }
110
111 static void nitrox_ablkcipher_exit(struct crypto_tfm *tfm)
112 {
113 struct nitrox_crypto_instance *inst = crypto_tfm_ctx(tfm);
114
115 /* free the crypto context */
116 if (inst->u.ctx_handle)
> 117 crypto_free_context((void *)inst->u.ctx_handle);
118
119 nitrox_put_device(inst->ndev);
120
121 inst->u.ctx_handle = 0;
122 inst->ndev = NULL;
123 }
124
125 static inline int nitrox_ablkcipher_setkey(struct crypto_ablkcipher *cipher,
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH v1 3/3] crypto: cavium - Register the CNN55XX supported crypto algorithms. kbuild test robot <lkp@intel.com> - 2017-05-10 16:50 +0200
csiph-web