]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
apparmor: Fix kernel-doc warnings in apparmor/policy_unpack.c
authorGaosheng Cui <cuigaosheng1@huawei.com>
Sun, 25 Jun 2023 01:13:47 +0000 (09:13 +0800)
committerJohn Johansen <john.johansen@canonical.com>
Mon, 10 Jul 2023 08:15:41 +0000 (01:15 -0700)
Fix kernel-doc warnings:

security/apparmor/policy_unpack.c:1173: warning: Function parameter
or member 'table_size' not described in 'verify_dfa_accept_index'

Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>
security/apparmor/policy_unpack.c

index 694fb7a099624b2e476bea0095d406f3db9b40fb..d2d740bb5618f271368fe8d4b1aa6d9e55c346a9 100644 (file)
@@ -1167,7 +1167,7 @@ static int verify_header(struct aa_ext *e, int required, const char **ns)
 /**
  * verify_dfa_accept_index - verify accept indexes are in range of perms table
  * @dfa: the dfa to check accept indexes are in range
- * table_size: the permission table size the indexes should be within
+ * @table_size: the permission table size the indexes should be within
  */
 static bool verify_dfa_accept_index(struct aa_dfa *dfa, int table_size)
 {