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

From: Kim Phillips
Date: Wed Nov 05 2014 - 11:48:55 EST


On Wed, 5 Nov 2014 11:21:24 +0200
Cristian Stoica <cristian.stoica@xxxxxxxxxxxxx> 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.
> This patch fixes the invalid array access following such an error and
> reports the condition.
>
> Signed-off-by: Cristian Stoica <cristian.stoica@xxxxxxxxxxxxx>
> ---

no v2 change info? All I noticed is the additional string for
"queue manager interface", which, without its implementation fn,
intoduces an inconsistency wrt NULL checking, so this comment:

http://www.mail-archive.com/linux-crypto@xxxxxxxxxxxxxxx/msg12105.html

still applies.

Thanks,

Kim
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/