Skip to content

Commit

Permalink
apparmor: fix doc warning
Browse files Browse the repository at this point in the history
Fix gcc W=1 warning:

security/apparmor/apparmorfs.c:2125: warning: Function parameter or member 'p' not described in '__next_profile'

Signed-off-by: ChenXiaoSong <chenxiaosong2@huawei.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>
  • Loading branch information
ChenXiaoSong authored and John Johansen committed Nov 3, 2021
1 parent 7e50e9f commit aa4ceed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion security/apparmor/apparmorfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -2115,7 +2115,7 @@ static struct aa_profile *__first_profile(struct aa_ns *root,

/**
* __next_profile - step to the next profile in a profile tree
* @profile: current profile in tree (NOT NULL)
* @p: current profile in tree (NOT NULL)
*
* Perform a depth first traversal on the profile tree in a namespace
*
Expand Down

0 comments on commit aa4ceed

Please sign in to comment.