* [cryptodev:master 181/206] drivers/crypto/n2_core.c:761:46: error: 'tfm' undeclared; did you mean 'tm'?
@ 2019-08-22 11:20 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-08-22 11:20 UTC (permalink / raw)
To: Ard Biesheuvel; +Cc: kbuild-all, linux-crypto, Herbert Xu
[-- Attachment #1: Type: text/plain, Size: 3351 bytes --]
tree: https://kernel.googlesource.com/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git master
head: 08c327f63f355fce190ac3e1ac62e19d2c5f004d
commit: d4b90dbc8578c567827901e625018ead7561f741 [181/206] crypto: n2/des - switch to new verification routines
config: sparc64-allmodconfig (attached as .config)
compiler: sparc64-linux-gcc (GCC) 7.4.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout d4b90dbc8578c567827901e625018ead7561f741
# save the attached .config to linux build tree
GCC_VERSION=7.4.0 make.cross ARCH=sparc64
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
drivers/crypto/n2_core.c: In function 'n2_des_setkey':
>> drivers/crypto/n2_core.c:761:46: error: 'tfm' undeclared (first use in this function); did you mean 'tm'?
struct n2_cipher_alg *n2alg = n2_cipher_alg(tfm);
^~~
tm
drivers/crypto/n2_core.c:761:46: note: each undeclared identifier is reported only once for each function it appears in
drivers/crypto/n2_core.c: In function 'n2_3des_setkey':
drivers/crypto/n2_core.c:779:46: error: 'tfm' undeclared (first use in this function); did you mean 'tm'?
struct n2_cipher_alg *n2alg = n2_cipher_alg(tfm);
^~~
tm
vim +761 drivers/crypto/n2_core.c
0a625fd2abaa0a David S. Miller 2010-05-19 756
0a625fd2abaa0a David S. Miller 2010-05-19 757 static int n2_des_setkey(struct crypto_ablkcipher *cipher, const u8 *key,
0a625fd2abaa0a David S. Miller 2010-05-19 758 unsigned int keylen)
0a625fd2abaa0a David S. Miller 2010-05-19 759 {
d4b90dbc8578c5 Ard Biesheuvel 2019-08-15 760 struct n2_cipher_context *ctx = crypto_ablkcipher_ctx(cipher);
0a625fd2abaa0a David S. Miller 2010-05-19 @761 struct n2_cipher_alg *n2alg = n2_cipher_alg(tfm);
0a625fd2abaa0a David S. Miller 2010-05-19 762 int err;
0a625fd2abaa0a David S. Miller 2010-05-19 763
d4b90dbc8578c5 Ard Biesheuvel 2019-08-15 764 err = verify_ablkcipher_des_key(cipher, key);
d4b90dbc8578c5 Ard Biesheuvel 2019-08-15 765 if (err)
d4b90dbc8578c5 Ard Biesheuvel 2019-08-15 766 return err;
0a625fd2abaa0a David S. Miller 2010-05-19 767
d4b90dbc8578c5 Ard Biesheuvel 2019-08-15 768 ctx->enc_type = n2alg->enc_type;
0a625fd2abaa0a David S. Miller 2010-05-19 769
0a625fd2abaa0a David S. Miller 2010-05-19 770 ctx->key_len = keylen;
0a625fd2abaa0a David S. Miller 2010-05-19 771 memcpy(ctx->key.des, key, keylen);
0a625fd2abaa0a David S. Miller 2010-05-19 772 return 0;
0a625fd2abaa0a David S. Miller 2010-05-19 773 }
0a625fd2abaa0a David S. Miller 2010-05-19 774
:::::: The code at line 761 was first introduced by commit
:::::: 0a625fd2abaa0aa0a6852b153d429dbc784748cc crypto: n2 - Add Niagara2 crypto driver
:::::: TO: David S. Miller <davem@davemloft.net>
:::::: CC: Herbert Xu <herbert@gondor.apana.org.au>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 58650 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-08-22 11:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-22 11:20 [cryptodev:master 181/206] drivers/crypto/n2_core.c:761:46: error: 'tfm' undeclared; did you mean 'tm'? kbuild test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).