From: Cristian Stoica Date: Wed, 5 Nov 2014 09:21:24 +0000 (+0200) Subject: crypto: caam - fix error reporting X-Git-Tag: omap-for-v3.19/fixes-rc1~99^2~52 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49783d0f54219e1c68eac738fdd3244b7a6cbda7;p=pandora-kernel.git 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 Signed-off-by: Herbert Xu --- Reading git-diff-tree failed