Messages in this thread Patch in this message | | | Date | Wed, 18 Oct 2006 01:19:25 +0400 | From | Edward Shishkin <> | Subject | Re: [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); | |