diff options
author | Robert P. J. Day <rpjday@crashcourse.ca> | 2008-04-29 10:01:32 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-29 17:06:17 +0200 |
commit | fdb89bce6c9ccb17dae13ec43a25d2fdd405233f (patch) | |
tree | 1b6c0e38bc194758e7d6ad2cbb509977900591b9 /security/keys | |
parent | keys: make the keyring quotas controllable through /proc/sys (diff) | |
download | linux-fdb89bce6c9ccb17dae13ec43a25d2fdd405233f.tar.xz linux-fdb89bce6c9ccb17dae13ec43a25d2fdd405233f.zip |
keys: explicitly include required slab.h header file.
Since these two source files invoke kmalloc(), they should explicitly
include <linux/slab.h>.
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Cc: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'security/keys')
-rw-r--r-- | security/keys/request_key.c | 1 | ||||
-rw-r--r-- | security/keys/request_key_auth.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/security/keys/request_key.c b/security/keys/request_key.c index a3f94c60692d..ba32ca6469bd 100644 --- a/security/keys/request_key.c +++ b/security/keys/request_key.c @@ -16,6 +16,7 @@ #include <linux/kmod.h> #include <linux/err.h> #include <linux/keyctl.h> +#include <linux/slab.h> #include "internal.h" /* diff --git a/security/keys/request_key_auth.c b/security/keys/request_key_auth.c index c615d473ce7c..bd237b0a6331 100644 --- a/security/keys/request_key_auth.c +++ b/security/keys/request_key_auth.c @@ -15,6 +15,7 @@ #include <linux/sched.h> #include <linux/err.h> #include <linux/seq_file.h> +#include <linux/slab.h> #include <asm/uaccess.h> #include "internal.h" |