diff options
author | Zhen Lei <thunder.leizhen@huawei.com> | 2021-06-09 04:27:01 +0200 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2021-06-11 02:59:05 +0200 |
commit | 6ddb5680085a3eefe0c6267e3514060045a13c95 (patch) | |
tree | 16218db0e235cf77bd6f71ac658dcded5943dc31 /kernel/auditsc.c | |
parent | audit: Use list_move instead of list_del/list_add (diff) | |
download | linux-6ddb5680085a3eefe0c6267e3514060045a13c95.tar.xz linux-6ddb5680085a3eefe0c6267e3514060045a13c95.zip |
audit: remove trailing spaces and tabs
Run the following command to find and remove the trailing spaces and tabs:
sed -r -i 's/[ \t]+$//' <audit_files>
The files to be checked are as follows:
kernel/audit*
include/linux/audit.h
include/uapi/linux/audit.h
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Acked-by: Richard Guy Briggs <rgb@redhat.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'kernel/auditsc.c')
-rw-r--r-- | kernel/auditsc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kernel/auditsc.c b/kernel/auditsc.c index 123f9dc12665..8dd73a64f921 100644 --- a/kernel/auditsc.c +++ b/kernel/auditsc.c @@ -343,13 +343,13 @@ static int audit_compare_uid(kuid_t uid, { struct audit_names *n; int rc; - + if (name) { rc = audit_uid_comparator(uid, f->op, name->uid); if (rc) return rc; } - + if (ctx) { list_for_each_entry(n, &ctx->names_list, list) { rc = audit_uid_comparator(uid, f->op, n->uid); @@ -367,13 +367,13 @@ static int audit_compare_gid(kgid_t gid, { struct audit_names *n; int rc; - + if (name) { rc = audit_gid_comparator(gid, f->op, name->gid); if (rc) return rc; } - + if (ctx) { list_for_each_entry(n, &ctx->names_list, list) { rc = audit_gid_comparator(gid, f->op, n->gid); |