lkml.org 
[lkml]   [2006]   [Oct]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [2.6.19-rc2-mm1] error: too few argum ents to function ‘crypto alloc hash’
Andrew James Wade wrote:

>Hello,
>
>The latest -mm introduced a new error:
>
> CC fs/reiser4/plugin/crypto/digest.o
>fs/reiser4/plugin/crypto/digest.c: In function ‘alloc_sha256’:
>fs/reiser4/plugin/crypto/digest.c:17: error: too few arguments to function ‘crypto_alloc_hash’
>make[2]: *** [fs/reiser4/plugin/crypto/digest.o] Error 1
>make[1]: *** [fs/reiser4] Error 2
>make: *** [fs] Error 2
>
>Andrew Wade
>
>
The fix is attached.
Andrew, please apply.
Thanks.
Fixed alloc_sha256 (missed argument)

Signed-off-by: Edward Shishkin <edward@namesys.com>
---
linux-2.6.19-rc2-mm1/fs/reiser4/plugin/crypto/digest.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

--- linux-2.6.19-rc2-mm1/fs/reiser4/plugin/crypto/digest.c.orig
+++ linux-2.6.19-rc2-mm1/fs/reiser4/plugin/crypto/digest.c
@@ -14,7 +14,7 @@
static struct crypto_hash * alloc_sha256 (void)
{
#if REISER4_SHA256
- return crypto_alloc_hash ("sha256", 0);
+ return crypto_alloc_hash ("sha256", 0, CRYPTO_ALG_ASYNC);
#else
warning("edward-1418", "sha256 unsupported");
return ERR_PTR(-EINVAL);
\
 
 \ /
  Last update: 2006-10-17 23:21    [W:0.312 / U:0.512 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site