summaryrefslogtreecommitdiff
path: root/security/apparmor/policy_compat.c
diff options
context:
space:
mode:
authorJohn Johansen <john.johansen@canonical.com>2023-08-08 13:12:19 -0700
committerJohn Johansen <john.johansen@canonical.com>2023-08-08 13:12:19 -0700
commitd2fe16e94cc30c0af5327d5a673dd1761b9edfae (patch)
tree3c1e50f036c5827df3ed82d5292123a0d0deeb81 /security/apparmor/policy_compat.c
parent25ff0ff2d6286928dc516c74b879809c691c2dd8 (diff)
downloadlwn-d2fe16e94cc30c0af5327d5a673dd1761b9edfae.tar.gz
lwn-d2fe16e94cc30c0af5327d5a673dd1761b9edfae.zip
apparmor: fixup return comments for kernel doc cleanups by Gaosheng Cui
[PATCH -next 05/11] apparmor: Fix kernel-doc warnings in apparmor/label.c missed updating the Returns comment for the new parameter names [PATCH -next 05/11] apparmor: Fix kernel-doc warnings in apparmor/label.c Added the @size parameter comment without mentioning it is a return value. Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'security/apparmor/policy_compat.c')
-rw-r--r--security/apparmor/policy_compat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/apparmor/policy_compat.c b/security/apparmor/policy_compat.c
index 18e4ddccf623..423227670e68 100644
--- a/security/apparmor/policy_compat.c
+++ b/security/apparmor/policy_compat.c
@@ -143,7 +143,7 @@ static struct aa_perms compute_fperms_other(struct aa_dfa *dfa,
* 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
- * @size: the permission table size
+ * @size: Returns the permission table size
*
* Returns: remapped perm table
*/