diff options
author | Randy Dunlap <rdunlap@infradead.org> | 2018-02-12 17:26:20 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-05-30 07:52:02 +0200 |
commit | 09897fcbd42ae88d3f4ed4a8bf99e56a2bfc5778 (patch) | |
tree | fa895d9614b448f9e5380d8eccbb68a998edee97 /security/integrity | |
parent | 0b9f26e97f2bd557cc41de670cffd0c594ebf6b9 (diff) | |
download | linux-exynos-09897fcbd42ae88d3f4ed4a8bf99e56a2bfc5778.tar.gz linux-exynos-09897fcbd42ae88d3f4ed4a8bf99e56a2bfc5778.tar.bz2 linux-exynos-09897fcbd42ae88d3f4ed4a8bf99e56a2bfc5778.zip |
integrity/security: fix digsig.c build error with header file
[ Upstream commit 120f3b11ef88fc38ce1d0ff9c9a4b37860ad3140 ]
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 <mpe@ellerman.id.au>
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Mimi Zohar <zohar@linux.vnet.ibm.com>
Cc: linux-integrity@vger.kernel.org
Link: http://kisskb.ellerman.id.au/kisskb/head/13396/
Signed-off-by: James Morris <james.morris@microsoft.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'security/integrity')
-rw-r--r-- | security/integrity/digsig.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/security/integrity/digsig.c b/security/integrity/digsig.c index 06554c448dce..9676c8887da9 100644 --- a/security/integrity/digsig.c +++ b/security/integrity/digsig.c @@ -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> |