diff options
author | Cyrille Pitchen <cyrille.pitchen@atmel.com> | 2016-09-29 18:46:57 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-10-21 05:03:39 +0200 |
commit | f709dc86bc4f9d8c320ceb9a12ac304756129dd5 (patch) | |
tree | 475ad46b29c18e73dbfb74182651bce774470456 /drivers/crypto/atmel-aes.c | |
parent | arm64: dts: marvell: add TRNG description for Armada 8K CP (diff) | |
download | linux-f709dc86bc4f9d8c320ceb9a12ac304756129dd5.tar.xz linux-f709dc86bc4f9d8c320ceb9a12ac304756129dd5.zip |
crypto: atmel-aes - fix compiler error when VERBOSE_DEBUG is defined
This patch fixes a compiler error when VERBOSE_DEBUG is defined. Indeed,
in atmel_aes_write(), the 3rd argument of atmel_aes_reg_name() was
missing.
Signed-off-by: Cyrille Pitchen <cyrille.pitchen@atmel.com>
Reported-by: Levent Demir <levent.demir@inria.fr>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/atmel-aes.c')
-rw-r--r-- | drivers/crypto/atmel-aes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/atmel-aes.c b/drivers/crypto/atmel-aes.c index e3d40a8dfffb..1d9e7bd3f377 100644 --- a/drivers/crypto/atmel-aes.c +++ b/drivers/crypto/atmel-aes.c @@ -317,7 +317,7 @@ static inline void atmel_aes_write(struct atmel_aes_dev *dd, char tmp[16]; dev_vdbg(dd->dev, "write 0x%08x into %s\n", value, - atmel_aes_reg_name(offset, tmp)); + atmel_aes_reg_name(offset, tmp, sizeof(tmp))); } #endif /* VERBOSE_DEBUG */ |