Skip to content

Commit

Permalink
encrypted-keys: IS_ERR need include/err.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Stephen Rothwell authored and Mimi Zohar committed Sep 15, 2011
1 parent 8de6ac7 commit cc10055
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions security/keys/encrypted-keys/masterkey_trusted.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

#include <linux/uaccess.h>
#include <linux/module.h>
#include <linux/err.h>
#include <keys/trusted-type.h>

/*
Expand Down

0 comments on commit cc10055

Please sign in to comment.