]> git.karo-electronics.de Git - karo-tx-linux.git/commit
crypto: omap-aes - Add useful debug macros
authorJoel Fernandes <joelf@ti.com>
Sun, 18 Aug 2013 05:56:11 +0000 (00:56 -0500)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 21 Aug 2013 11:27:58 +0000 (21:27 +1000)
commit016af9b5c51e58ecda573f14dabe85a67363b20f
treed2e453bc373918595111ccc2ef52c4ad17c12557
parent257aff515409f9455edff3a946344e71baf9e116
crypto: omap-aes - Add useful debug macros

When DEBUG is enabled, these macros can be used to print variables in integer
and hex format, and clearly display which registers, offsets and values are
being read/written , including printing the names of the offsets and their values.

Using statement expression macros in read path as,
Suggested-by: Joe Perches <joe@perches.com>
Signed-off-by: Joel Fernandes <joelf@ti.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/omap-aes.c