encrypted-keys: IS_ERR need include/err.h
authorStephen Rothwell <sfr@canb.auug.org.au>
Thu, 15 Sep 2011 07:07:15 +0000 (17:07 +1000)
committerMimi Zohar <zohar@linux.vnet.ibm.com>
Thu, 15 Sep 2011 21:37:24 +0000 (17:37 -0400)
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>
Signed-off-by: Mimi Zohar <zohar@us.ibm.com>
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>
 
 /*