diff options
author | Cristian Stoica <cristian.stoica@freescale.com> | 2014-11-05 11:21:24 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2014-11-06 23:15:05 +0800 |
commit | 49783d0f54219e1c68eac738fdd3244b7a6cbda7 (patch) | |
tree | 4b64bc6e585dce05e5f9ad15284f6b60b0d4d7dd /crypto | |
parent | 7222d1a3410388c8e21a5028ba2beb498938b57f (diff) | |
download | linux-49783d0f54219e1c68eac738fdd3244b7a6cbda7.tar.gz linux-49783d0f54219e1c68eac738fdd3244b7a6cbda7.tar.bz2 linux-49783d0f54219e1c68eac738fdd3244b7a6cbda7.zip |
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