Commit f709dc86 authored by Cyrille Pitchen's avatar Cyrille Pitchen Committed by Herbert Xu

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: default avatarCyrille Pitchen <cyrille.pitchen@atmel.com>
Reported-by: default avatarLevent Demir <levent.demir@inria.fr>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent a0743c15
...@@ -317,7 +317,7 @@ static inline void atmel_aes_write(struct atmel_aes_dev *dd, ...@@ -317,7 +317,7 @@ static inline void atmel_aes_write(struct atmel_aes_dev *dd,
char tmp[16]; char tmp[16];
dev_vdbg(dd->dev, "write 0x%08x into %s\n", value, 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 */ #endif /* VERBOSE_DEBUG */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment