Re: [PATCH 2/2] crypto: caam - fix printk recursion for long error texts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, May 02, 2011 at 06:29:17PM -0500, Kim Phillips wrote:
> 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@xxxxxxxxxxxxx>

Both patches applied.  Thanks!
-- 
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux