ima: fix script messages
Fix checkpatch, lindent, etc, warnings/errors Signed-off-by: Dmitry Kasatkin <d.kasatkin@samsung.com> Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
This commit is contained in:
committed by
Mimi Zohar
parent
4ef4c943a0
commit
089bc8e95a
@@ -11,8 +11,9 @@
|
|||||||
|
|
||||||
#include <linux/module.h>
|
#include <linux/module.h>
|
||||||
#include <linux/xattr.h>
|
#include <linux/xattr.h>
|
||||||
|
#include <linux/evm.h>
|
||||||
|
|
||||||
int posix_xattr_acl(char *xattr)
|
int posix_xattr_acl(const char *xattr)
|
||||||
{
|
{
|
||||||
int xattr_len = strlen(xattr);
|
int xattr_len = strlen(xattr);
|
||||||
|
|
||||||
|
@@ -88,8 +88,7 @@ static void *ima_measurements_next(struct seq_file *m, void *v, loff_t *pos)
|
|||||||
* against concurrent list-extension
|
* against concurrent list-extension
|
||||||
*/
|
*/
|
||||||
rcu_read_lock();
|
rcu_read_lock();
|
||||||
qe = list_entry_rcu(qe->later.next,
|
qe = list_entry_rcu(qe->later.next, struct ima_queue_entry, later);
|
||||||
struct ima_queue_entry, later);
|
|
||||||
rcu_read_unlock();
|
rcu_read_unlock();
|
||||||
(*pos)++;
|
(*pos)++;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user