diff options
author | Kim Phillips <kim.phillips@freescale.com> | 2011-05-03 01:29:17 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2011-05-04 07:15:06 +0200 |
commit | de2954d66408da3ae34effda777bb564fd17781b (patch) | |
tree | 4d2c85fd33cfb72ebcb6870320eba3e5f4a22a70 /drivers/edac | |
parent | crypto: caam - remove unused keylen from session context (diff) | |
download | linux-de2954d66408da3ae34effda777bb564fd17781b.tar.xz linux-de2954d66408da3ae34effda777bb564fd17781b.zip |
crypto: caam - fix printk recursion for long error texts
during recent descriptor development, an Invalid Sequence Command
error triggered a:
BUG: recent printk recursion!
due to insufficient memory allocated for the error text.
The Invalid Sequence Command error text is the longest.
The length of the maximum error string is computed as
the sum of:
"DECO: ": 6
"jump tgt desc idx 255: ": 23
Invalid Sequence Command text: 272
zero termination character: 1
i.e, 302 characters.
Define this maximum error string length in error.h and fix
caam_jr_strstatus callsites.
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/edac')
0 files changed, 0 insertions, 0 deletions