Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 089bc8e9 authored by Dmitry Kasatkin's avatar Dmitry Kasatkin Committed by Mimi Zohar
Browse files

ima: fix script messages



Fix checkpatch, lindent, etc, warnings/errors

Signed-off-by: default avatarDmitry Kasatkin <d.kasatkin@samsung.com>
Signed-off-by: default avatarMimi Zohar <zohar@linux.vnet.ibm.com>
parent 4ef4c943
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -11,8 +11,9 @@

#include <linux/module.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);

+1 −2
Original line number Diff line number Diff line
@@ -88,8 +88,7 @@ static void *ima_measurements_next(struct seq_file *m, void *v, loff_t *pos)
	 * against concurrent list-extension
	 */
	rcu_read_lock();
	qe = list_entry_rcu(qe->later.next,
			    struct ima_queue_entry, later);
	qe = list_entry_rcu(qe->later.next, struct ima_queue_entry, later);
	rcu_read_unlock();
	(*pos)++;

+1 −1

File changed.

Contains only whitespace changes.

+3 −3

File changed.

Contains only whitespace changes.

+5 −5

File changed.

Contains only whitespace changes.

+1 −1

File changed.

Contains only whitespace changes.

Loading