Skip to content

Commit

Permalink
selinux: clean up indentation issue with assignment statement
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Colin Ian King authored and Paul Moore committed Mar 30, 2020
1 parent 779df6a commit c753924
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions security/selinux/ss/policydb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit c753924

Please sign in to comment.