crypto: caam - print errno code when hash registration fails
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 18 Oct 2015 16:51:10 +0000 (17:51 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 20 Oct 2015 14:11:09 +0000 (22:11 +0800)
commit6ea30f0acfd1c269520c561b45762c0de590007f
treeb067350c855dce4e19dd5aed2d99c78b740ac3dd
parent8c07f3a8c487df241f5e809e8f6d5dd7c9d75b54
crypto: caam - print errno code when hash registration fails

Print the errno code when hash registration fails, so we know why the
failure occurred.  This aids debugging.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/caamhash.c