Skip to content

Commit 755a22c

Browse files
Yang Lijrjohansen
authored andcommitted
AppArmor: Fix some kernel-doc comments
Make the description of @table to @Strs in function unpack_trans_table() to silence the warnings: security/apparmor/policy_unpack.c:456: warning: Function parameter or member 'strs' not described in 'unpack_trans_table' security/apparmor/policy_unpack.c:456: warning: Excess function parameter 'table' description in 'unpack_trans_table' Reported-by: Abaci Robot <abaci@linux.alibaba.com> Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=4332 Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> Signed-off-by: John Johansen <john.johansen@canonical.com>
1 parent b54aebd commit 755a22c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

security/apparmor/policy_unpack.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ static struct aa_dfa *unpack_dfa(struct aa_ext *e, int flags)
437437
/**
438438
* unpack_trans_table - unpack a profile transition table
439439
* @e: serialized data extent information (NOT NULL)
440-
* @table: str table to unpack to (NOT NULL)
440+
* @strs: str table to unpack to (NOT NULL)
441441
*
442442
* Returns: true if table successfully unpacked or not present
443443
*/

0 commit comments

Comments
 (0)