提交 f709dc86 编写于 作者: C Cyrille Pitchen 提交者: 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: NCyrille Pitchen <cyrille.pitchen@atmel.com>
Reported-by: NLevent Demir <levent.demir@inria.fr>
Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
上级 a0743c15
......@@ -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 */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册