OSDN Git Service

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)
commit942d849d32d0126442bdf7a4052bb46fbf23a3c6
tree2f8b2d54632e60bd36613685d071ebab0c791b19
parent709ecc101aea53d3625b688697b7c9dc4235716d
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