Re: [PATCH v2] crypto: caam: fix error reporting

2014-11-06 Thread Herbert Xu
On Wed, Nov 05, 2014 at 11:21:24AM +0200, Cristian Stoica wrote: > 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

Re: [PATCH v2] crypto: caam: fix error reporting

2014-11-06 Thread Cristian Stoica
Hi Kim, Herbert, On 11/05/2014 06:43 PM, Kim Phillips wrote: > On Wed, 5 Nov 2014 11:21:24 +0200 > Cristian Stoica wrote: > >> 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

Re: [PATCH v2] crypto: caam: fix error reporting

2014-11-06 Thread Herbert Xu
On Wed, Nov 05, 2014 at 11:21:24AM +0200, Cristian Stoica wrote: 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.

Re: [PATCH v2] crypto: caam: fix error reporting

2014-11-06 Thread Cristian Stoica
Hi Kim, Herbert, On 11/05/2014 06:43 PM, Kim Phillips wrote: On Wed, 5 Nov 2014 11:21:24 +0200 Cristian Stoica cristian.sto...@freescale.com wrote: 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

Re: [PATCH v2] crypto: caam: fix error reporting

2014-11-05 Thread Kim Phillips
On Wed, 5 Nov 2014 11:21:24 +0200 Cristian Stoica wrote: > 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. >

[PATCH v2] crypto: caam: fix error reporting

2014-11-05 Thread Cristian Stoica
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

[PATCH v2] crypto: caam: fix error reporting

2014-11-05 Thread Cristian Stoica
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

Re: [PATCH v2] crypto: caam: fix error reporting

2014-11-05 Thread Kim Phillips
On Wed, 5 Nov 2014 11:21:24 +0200 Cristian Stoica cristian.sto...@freescale.com wrote: 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