summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorChenXiaoSong <chenxiaosong2@huawei.com>2021-06-07 14:30:22 +0800
committerJohn Johansen <john.johansen@canonical.com>2021-11-03 00:46:28 -0700
commitaa4ceed7c3276852031a3e3d6fa767ff1858831f (patch)
tree397868ebd926b96ef16fdda9a737d043eda6b8ac /security
parent7e50e9ffdee6fa8b375baddbac85fcb8ffee156a (diff)
apparmor: fix doc warning
Fix gcc W=1 warning: security/apparmor/apparmorfs.c:2125: warning: Function parameter or member 'p' not described in '__next_profile' Signed-off-by: ChenXiaoSong <chenxiaosong2@huawei.com> Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'security')
-rw-r--r--security/apparmor/apparmorfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/apparmor/apparmorfs.c b/security/apparmor/apparmorfs.c
index 3275e074e5f8..a515d1f6d951 100644
--- a/security/apparmor/apparmorfs.c
+++ b/security/apparmor/apparmorfs.c
@@ -2115,7 +2115,7 @@ static struct aa_profile *__first_profile(struct aa_ns *root,
/**
* __next_profile - step to the next profile in a profile tree
- * @profile: current profile in tree (NOT NULL)
+ * @p: current profile in tree (NOT NULL)
*
* Perform a depth first traversal on the profile tree in a namespace
*