diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2010-08-05 13:49:29 +1000 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2010-08-06 13:01:32 +1000 |
commit | 6776cf0af3ec35be3e58d835aee0d3d1be76da6c (patch) | |
tree | c07ab2c72c40f6c78965fa074e6c50c96f42b6d8 | |
parent | a3229cb260b4248390d41937606f6cd5caab6beb (diff) |
cifs: include linux/err.h for IS_ERR and PTR_ERR
Fixes build errors:
net/dns_resolver/dns_key.c: In function 'init_dns_resolver':
net/dns_resolver/dns_key.c:170: error: implicit declaration of function 'IS_ERR'
net/dns_resolver/dns_key.c:171: error: implicit declaration of function 'PTR_ERR'
net/dns_resolver/dns_query.c: In function 'dns_query':
net/dns_resolver/dns_query.c:126: error: implicit declaration of function 'IS_ERR'
net/dns_resolver/dns_query.c:127: error: implicit declaration of function 'PTR_ERR'
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
-rw-r--r-- | net/dns_resolver/dns_key.c | 1 | ||||
-rw-r--r-- | net/dns_resolver/dns_query.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/net/dns_resolver/dns_key.c b/net/dns_resolver/dns_key.c index 1b1b411adcf1..400a04d5c9a1 100644 --- a/net/dns_resolver/dns_key.c +++ b/net/dns_resolver/dns_key.c @@ -28,6 +28,7 @@ #include <linux/string.h> #include <linux/kernel.h> #include <linux/keyctl.h> +#include <linux/err.h> #include <keys/dns_resolver-type.h> #include <keys/user-type.h> #include "internal.h" diff --git a/net/dns_resolver/dns_query.c b/net/dns_resolver/dns_query.c index 6c0cf31ea00d..b33e1f7ff48d 100644 --- a/net/dns_resolver/dns_query.c +++ b/net/dns_resolver/dns_query.c @@ -39,6 +39,7 @@ #include <linux/module.h> #include <linux/slab.h> #include <linux/dns_resolver.h> +#include <linux/err.h> #include <keys/dns_resolver-type.h> #include <keys/user-type.h> |