crypto: caam - Clean up report_ccb_status()
authorMarek Vasut <marex@denx.de>
Thu, 24 Apr 2014 18:05:18 +0000 (20:05 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 8 May 2014 13:58:09 +0000 (21:58 +0800)
commit1e16322da45b747c753162e421b7a1b25259377a
tree15fad0338e05cdbc50d92c4f2d9f2a798f355da4
parent526243cc872398ed8139a52ee0bf7715a3abcf31
crypto: caam - Clean up report_ccb_status()

Clean this function up and rework it into sensible shape. This function
now contains one single dev_err() instead of the previous insanity full
of memory allocation, possible stack overwriting, chaotic string handling
and use of SPRINTFCAT().

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Horia Geanta <horia.geanta@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/error.c