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 11:03:39 +0800 |
commit | f709dc86bc4f9d8c320ceb9a12ac304756129dd5 (patch) | |
tree | 475ad46b29c18e73dbfb74182651bce774470456 | |
parent | a0743c1536ff31c21440b72cfab24a65b802c219 (diff) | |
download | blackbird-obmc-linux-f709dc86bc4f9d8c320ceb9a12ac304756129dd5.tar.gz blackbird-obmc-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>
-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 */ |