AppArmor: Fix some kernel-doc comments
Subsystems (2)
PATCH 1/1 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'
--- security/apparmor/policy_unpack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
security/apparmor/policy_unpack.c +1 -1
@@ -448,7 +448,7 @@ static struct aa_dfa *unpack_dfa(struct aa_ext *e, int flags)/** * unpack_trans_table - unpack a profile transition table * @e: serialized data extent information (NOT NULL) -* @table: str table to unpack to (NOT NULL) +* @strs: str table to unpack to (NOT NULL) * * Returns: true if table successfully unpacked or not present */
Signature · 1 line
2.20.1.7.g153144c
Quoted 9 lines · Yang Li
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 <[email protected]>Signed-off-by Yang Li <[email protected]>
I have pulled this into the apparmor tree thanks
Quoted 17 lines
--- security/apparmor/policy_unpack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)security/apparmor/policy_unpack.c +1
-1@@ -448,7 +448,7 @@ static struct aa_dfa *unpack_dfa(struct aa_ext *e, int flags)/** * unpack_trans_table - unpack a profile transition table * @e: serialized data extent information (NOT NULL) -* @table: str table to unpack to (NOT NULL) +* @strs: str table to unpack to (NOT NULL) * * Returns: true if table successfully unpacked or not present */