]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
apparmor: Fix doc comment for compute_fperms
authorJohn Johansen <john.johansen@canonical.com>
Sun, 25 Sep 2022 05:25:25 +0000 (22:25 -0700)
committerJohn Johansen <john.johansen@canonical.com>
Mon, 3 Oct 2022 21:49:04 +0000 (14:49 -0700)
When compute_fperms was moved to policy_compat and made static it
was renamed from aa_compute_fperms to just compute_fperms to help
indicate it is only available statically. Unfortunately the doc
comment did not also get updated to reflect the change.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>
security/apparmor/policy_compat.c

index 1aa5cced935ee98c30ecf28c4cedfd018b647297..9e52e218bf308161c7fcc0d190a2bacea7b0e3b0 100644 (file)
@@ -140,8 +140,8 @@ static struct aa_perms compute_fperms_other(struct aa_dfa *dfa,
 }
 
 /**
- * aa_compute_fperms - convert dfa compressed perms to internal perms and store
- *                    them so they can be retrieved later.
+ * compute_fperms - convert dfa compressed perms to internal perms and store
+ *                 them so they can be retrieved later.
  * @dfa: a dfa using fperms to remap to internal permissions
  *
  * Returns: remapped perm table