]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
selinux: clean up indentation issue with assignment statement
authorColin Ian King <colin.king@canonical.com>
Fri, 27 Mar 2020 17:44:02 +0000 (17:44 +0000)
committerPaul Moore <paul@paul-moore.com>
Mon, 30 Mar 2020 23:57:07 +0000 (19:57 -0400)
The assignment of e->type_names is indented one level too deep,
clean this up by removing the extraneous tab.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
security/selinux/ss/policydb.c

index 932b2b9bcdb2bd43aac7686abbd386fb65074ce2..70ecdc78efbd9f148d5a6744f4981ded87e5aac3 100644 (file)
@@ -1219,10 +1219,9 @@ static int read_cons_helper(struct policydb *p,
                                if (rc)
                                        return rc;
                                if (p->policyvers >=
-                                       POLICYDB_VERSION_CONSTRAINT_NAMES) {
-                                               e->type_names = kzalloc(sizeof
-                                               (*e->type_names),
-                                               GFP_KERNEL);
+                                   POLICYDB_VERSION_CONSTRAINT_NAMES) {
+                                       e->type_names = kzalloc(sizeof
+                                               (*e->type_names), GFP_KERNEL);
                                        if (!e->type_names)
                                                return -ENOMEM;
                                        type_set_init(e->type_names);