]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
encrypted-keys: IS_ERR need include/err.h
authorStephen Rothwell <sfr@canb.auug.org.au>
Thu, 15 Sep 2011 07:03:09 +0000 (17:03 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 15 Sep 2011 07:04:12 +0000 (17:04 +1000)
Fixes this build error:

security/keys/encrypted-keys/masterkey_trusted.c: In function 'request_trusted_key':
security/keys/encrypted-keys/masterkey_trusted.c:35:2: error: implicit declaration of function 'IS_ERR'

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
security/keys/encrypted-keys/masterkey_trusted.c

index a5da5128891b5fa94b0458162ef7579e54541ce9..df87272e3f519ca6909e9f9e4ab8132554ae9abb 100644 (file)
@@ -16,6 +16,7 @@
 
 #include <linux/uaccess.h>
 #include <linux/module.h>
+#include <linux/err.h>
 #include <keys/trusted-type.h>
 
 /*