Skip to content

Commit

Permalink
integrity/security: fix digsig.c build error with header file
Browse files Browse the repository at this point in the history
security/integrity/digsig.c has build errors on some $ARCH due to a
missing header file, so add it.

  security/integrity/digsig.c:146:2: error: implicit declaration of function 'vfree' [-Werror=implicit-function-declaration]

Reported-by: Michael Ellerman <[email protected]>
Signed-off-by: Randy Dunlap <[email protected]>
Cc: Mimi Zohar <[email protected]>
Cc: [email protected]
Link: http://kisskb.ellerman.id.au/kisskb/head/13396/
Signed-off-by: James Morris <[email protected]>
  • Loading branch information
rddunlap authored and James Morris committed Feb 23, 2018
1 parent 16c4db3 commit 120f3b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions security/integrity/digsig.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#include <linux/cred.h>
#include <linux/key-type.h>
#include <linux/digsig.h>
#include <linux/vmalloc.h>
#include <crypto/public_key.h>
#include <keys/system_keyring.h>

Expand Down

0 comments on commit 120f3b1

Please sign in to comment.