Skip to content

Commit 3175df8

Browse files
gscuijrjohansen
authored andcommitted
apparmor: Fix kernel-doc warnings in apparmor/file.c
Fix kernel-doc warnings: security/apparmor/file.c:177: warning: Excess function parameter 'dfa' description in 'aa_lookup_fperms' security/apparmor/file.c:177: warning: Function parameter or member 'file_rules' not described in 'aa_lookup_fperms' security/apparmor/file.c:202: warning: Excess function parameter 'dfa' description in 'aa_str_perms' security/apparmor/file.c:202: warning: Excess function parameter 'state' description in 'aa_str_perms' security/apparmor/file.c:202: warning: Function parameter or member 'file_rules' not described in 'aa_str_perms' security/apparmor/file.c:202: warning: Function parameter or member 'start' not described in 'aa_str_perms' Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com> Signed-off-by: John Johansen <john.johansen@canonical.com>
1 parent 76426c9 commit 3175df8

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

security/apparmor/file.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ static int path_name(const char *op, struct aa_label *label,
164164
struct aa_perms default_perms = {};
165165
/**
166166
* aa_lookup_fperms - convert dfa compressed perms to internal perms
167-
* @dfa: dfa to lookup perms for (NOT NULL)
167+
* @file_rules: the aa_policydb to lookup perms for (NOT NULL)
168168
* @state: state in dfa
169169
* @cond: conditions to consider (NOT NULL)
170170
*
@@ -188,8 +188,8 @@ struct aa_perms *aa_lookup_fperms(struct aa_policydb *file_rules,
188188

189189
/**
190190
* aa_str_perms - find permission that match @name
191-
* @dfa: to match against (MAYBE NULL)
192-
* @state: state to start matching in
191+
* @file_rules: the aa_policydb to match against (NOT NULL)
192+
* @start: state to start matching in
193193
* @name: string to match against dfa (NOT NULL)
194194
* @cond: conditions to consider for permission set computation (NOT NULL)
195195
* @perms: Returns - the permissions found when matching @name

0 commit comments

Comments
 (0)