Commit d69ea277 authored by David S. Miller's avatar David S. Miller Committed by James Morris

[CRYPTO]: Build/warning fixups.

parent d0bd0849
...@@ -179,7 +179,7 @@ int crypto_register_alg(struct crypto_alg *alg) ...@@ -179,7 +179,7 @@ int crypto_register_alg(struct crypto_alg *alg)
if (crypto_alg_blocksize_check(alg)) { if (crypto_alg_blocksize_check(alg)) {
printk(KERN_WARNING "%s: blocksize %Zd exceeds max. " 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); CRYPTO_MAX_CIPHER_BLOCK_SIZE);
ret = -EINVAL; ret = -EINVAL;
} }
......
...@@ -16,6 +16,10 @@ ...@@ -16,6 +16,10 @@
#ifndef _LINUX_CRYPTO_H #ifndef _LINUX_CRYPTO_H
#define _LINUX_CRYPTO_H #define _LINUX_CRYPTO_H
#include <linux/module.h>
#include <linux/types.h>
#include <linux/list.h>
/* /*
* Algorithm masks and types. * Algorithm masks and types.
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment