summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorCristian Stoica <cristian.stoica@freescale.com>2014-11-05 11:21:24 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2014-11-06 23:15:05 +0800
commit49783d0f54219e1c68eac738fdd3244b7a6cbda7 (patch)
tree4b64bc6e585dce05e5f9ad15284f6b60b0d4d7dd /crypto
parent7222d1a3410388c8e21a5028ba2beb498938b57f (diff)
crypto: caam - fix error reporting
The error code returned by hardware is four bits wide with an expected zero MSB. A hardware error condition where the error code can get between 0x8 and 0xf will trigger an out of bound array access on the error message table. This patch fixes the invalid array access following such an error and reports the condition. Signed-off-by: Cristian Stoica <cristian.stoica@freescale.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions