Re: [PATCH] crypto: ahash - Use GFP_KERNEL on allocation if the request can sleep

2009-07-22 Thread Herbert Xu
On Wed, Jul 22, 2009 at 11:51:23AM +0200, Steffen Klassert wrote: > ahash_op_unaligned() and ahash_def_finup() allocate memory atomically, > regardless whether the request can sleep or not. This patch changes > this to use GFP_KERNEL if the request can sleep. > > Signed-off-by: Steffen Klassert

[PATCH] crypto: ahash - Use GFP_KERNEL on allocation if the request can sleep

2009-07-22 Thread Steffen Klassert
ahash_op_unaligned() and ahash_def_finup() allocate memory atomically, regardless whether the request can sleep or not. This patch changes this to use GFP_KERNEL if the request can sleep. Signed-off-by: Steffen Klassert --- crypto/ahash.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletion