Skip to content

Commit 8c55941

Browse files
robertosassumimizohar
authored andcommitted
ima: Include header defining ima_post_key_create_or_update()
This patch fixes the sparse warning for ima_post_key_create_or_update() by adding the header file that defines the prototype (linux/ima.h). Signed-off-by: Roberto Sassu <roberto.sassu@huawei.com> Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
1 parent 6b26285 commit 8c55941

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

security/integrity/ima/ima_asymmetric_keys.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
#include <keys/asymmetric-type.h>
1313
#include <linux/user_namespace.h>
14+
#include <linux/ima.h>
1415
#include "ima.h"
1516

1617
/**

0 commit comments

Comments
 (0)