Skip to content

Commit 7abbbd5

Browse files
gscuijrjohansen
authored andcommitted
apparmor: Fix kernel-doc warnings in apparmor/match.c
Fix kernel-doc warnings: security/apparmor/match.c:148: warning: Function parameter or member 'tables' not described in 'verify_table_headers' security/apparmor/match.c:289: warning: Excess function parameter 'kr' description in 'aa_dfa_free_kref' security/apparmor/match.c:289: warning: Function parameter or member 'kref' not described in 'aa_dfa_free_kref' Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com> Signed-off-by: John Johansen <john.johansen@canonical.com>
1 parent 8921482 commit 7abbbd5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

security/apparmor/match.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ static struct table_header *unpack_table(char *blob, size_t bsize)
136136

137137
/**
138138
* verify_table_headers - verify that the tables headers are as expected
139-
* @tables - array of dfa tables to check (NOT NULL)
139+
* @tables: array of dfa tables to check (NOT NULL)
140140
* @flags: flags controlling what type of accept table are acceptable
141141
*
142142
* Assumes dfa has gone through the first pass verification done by unpacking
@@ -283,7 +283,7 @@ static void dfa_free(struct aa_dfa *dfa)
283283

284284
/**
285285
* aa_dfa_free_kref - free aa_dfa by kref (called by aa_put_dfa)
286-
* @kr: kref callback for freeing of a dfa (NOT NULL)
286+
* @kref: kref callback for freeing of a dfa (NOT NULL)
287287
*/
288288
void aa_dfa_free_kref(struct kref *kref)
289289
{

0 commit comments

Comments
 (0)