]> git.neil.brown.name Git - history.git/commitdiff
[CRYPTO]: Build/warning fixups.
authorDavid S. Miller <davem@nuts.ninka.net>
Mon, 28 Oct 2002 19:01:58 +0000 (11:01 -0800)
committerJames Morris <jmorris@intercode.com.au>
Mon, 28 Oct 2002 19:01:58 +0000 (11:01 -0800)
crypto/api.c
include/linux/crypto.h

index b2548a46459eaed1becd2f5f0163ed34435561ea..88c9ca38cd7f29dc98344f6d68cb3973855a8c6d 100644 (file)
@@ -179,7 +179,7 @@ int crypto_register_alg(struct crypto_alg *alg)
        
        if (crypto_alg_blocksize_check(alg)) {
                printk(KERN_WARNING "%s: blocksize %Zd exceeds max. "
-                      "size %Zd\n", __FUNCTION__, alg->cra_blocksize,
+                      "size %d\n", __FUNCTION__, alg->cra_blocksize,
                       CRYPTO_MAX_CIPHER_BLOCK_SIZE);
                ret = -EINVAL;
        }
index 0b49b36675de5676c673c8045513e8f25d9495ef..5debc16b16ab3d3fe556107501367af4fe755e55 100644 (file)
 #ifndef _LINUX_CRYPTO_H
 #define _LINUX_CRYPTO_H
 
+#include <linux/module.h>
+#include <linux/types.h>
+#include <linux/list.h>
+
 /*
  * Algorithm masks and types.
  */