Browse Source

crypto: ux500 - Fix logging, make arrays const, neatening

Logging messages without newlines are possibly interleaved
with other messages.  Add terminating newlines to avoid
this.

Other miscellaneous changes:

Make arrays const to reduce data size
Add pr_fmt to prefix pr_<level>, remove now unused DEV_DBG_NAME
Coalesce formats, align arguments
Remove unnecessary OOM messages as dump_stack is already done
Remove unnecessary cast of void *
Change kzalloc(sizeof(struct)...) to kzalloc(sizeof(*var), ...)
Reduce indents in struct definitions

Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Joe Perches 12 years ago
parent
commit
69d2884deb
1 changed files with 250 additions and 276 deletions
  1. 250 276
      drivers/crypto/ux500/hash/hash_core.c

File diff suppressed because it is too large
+ 250 - 276
drivers/crypto/ux500/hash/hash_core.c


Some files were not shown because too many files changed in this diff