From: Baokun Li <hidden> Date: 2021-06-05 06:17:27
Fixes the following W=1 kernel build warning(s):
kernel/capability.c:490: warning: Function parameter or
member 'mnt_userns' not described in 'privileged_wrt_inode_uidgid'
kernel/capability.c:506: warning: Function parameter or
member 'mnt_userns' not described in 'capable_wrt_inode_uidgid'
Signed-off-by: Baokun Li <redacted>
---
kernel/capability.c | 2 ++
1 file changed, 2 insertions(+)
From: "Serge E. Hallyn" <serge@hallyn.com> Date: 2021-06-07 23:09:18
On Sat, Jun 05, 2021 at 02:26:02PM +0800, Baokun Li wrote:
quoted hunk
Fixes the following W=1 kernel build warning(s):
kernel/capability.c:490: warning: Function parameter or
member 'mnt_userns' not described in 'privileged_wrt_inode_uidgid'
kernel/capability.c:506: warning: Function parameter or
member 'mnt_userns' not described in 'capable_wrt_inode_uidgid'
Signed-off-by: Baokun Li <redacted>
---
kernel/capability.c | 2 ++
1 file changed, 2 insertions(+)
Thank you for your advice.
I didn't notice the order of the parameters.
I'm about to send a patch v2 with the changes suggested by you.
在 2021/6/8 7:09, Serge E. Hallyn 写道:
On Sat, Jun 05, 2021 at 02:26:02PM +0800, Baokun Li wrote:
quoted
Fixes the following W=1 kernel build warning(s):
kernel/capability.c:490: warning: Function parameter or
member 'mnt_userns' not described in 'privileged_wrt_inode_uidgid'
kernel/capability.c:506: warning: Function parameter or
member 'mnt_userns' not described in 'capable_wrt_inode_uidgid'
Signed-off-by: Baokun Li <redacted>
---
kernel/capability.c | 2 ++
1 file changed, 2 insertions(+)