]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: inside-secure - improve the result error format when displayed
authorAntoine Tenart <antoine.tenart@bootlin.com>
Mon, 27 May 2019 14:50:57 +0000 (16:50 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 6 Jun 2019 06:38:55 +0000 (14:38 +0800)
commit4488e9f4a997a8ff4b9bfe91c92d899132e7c978
tree2f8b2d54632e60bd36613685d071ebab0c791b19
parentca3db15eecb62143bcc3feedf2fe9cda3ab5f6db
crypto: inside-secure - improve the result error format when displayed

The result descriptors contain errors, which are represented as a
bitmap. This patch updates the error message to not treat the error as a
decimal value, but as an hexadecimal one. This helps in knowing the
value does not have a direct meaning (the set bits themselves have).

Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/inside-secure/safexcel.c