[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210607063022.329320-1-chenxiaosong2@huawei.com>
Date: Mon, 7 Jun 2021 14:30:22 +0800
From: ChenXiaoSong <chenxiaosong2@...wei.com>
To: <john.johansen@...onical.com>, <jmorris@...ei.org>,
<serge@...lyn.com>
CC: <linux-security-module@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <yukuai3@...wei.com>,
<yi.zhang@...wei.com>, <chenxiaosong2@...wei.com>
Subject: [PATCH -next] apparmor: fix doc warning
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@...wei.com>
---
security/apparmor/apparmorfs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/security/apparmor/apparmorfs.c b/security/apparmor/apparmorfs.c
index 5bb9b9910aee..4720b8b9239c 100644
--- a/security/apparmor/apparmorfs.c
+++ b/security/apparmor/apparmorfs.c
@@ -2114,7 +2114,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
*
--
2.25.4
Powered by blists - more mailing lists