[apparmor] [PATCH -next 2/2] apparmor: Fix some kernel-doc comments

2023-10-22 Thread Yang Li
Fix some kernel-doc comments to silence the warnings: security/apparmor/policy.c:117: warning: Function parameter or member 'kref' not described in 'aa_pdb_free_kref' security/apparmor/policy.c:117: warning: Excess function parameter 'kr' description in 'aa_pdb_free_kref' security/apparmor/policy

[apparmor] [PATCH -next 1/2] apparmor: Fix one kernel-doc comment

2023-10-22 Thread Yang Li
Fix one kernel-doc comment to silence the warnings: security/apparmor/domain.c:46: warning: Function parameter or member 'to_cred' not described in 'may_change_ptraced_domain' security/apparmor/domain.c:46: warning: Excess function parameter 'cred' description in 'may_change_ptraced_domain' Repo

[apparmor] [PATCH -next] apparmor: Fix some kernel-doc comments

2023-10-22 Thread Yang Li
Fix some kernel-doc comments to silence the warnings: security/apparmor/capability.c:66: warning: Function parameter or member 'ad' not described in 'audit_caps' security/apparmor/capability.c:66: warning: Excess function parameter 'as' description in 'audit_caps' security/apparmor/capability.c:1

Re: [apparmor] [PATCH] apparmor: mark new functions static

2023-10-22 Thread John Johansen
On 10/20/23 06:12, Arnd Bergmann wrote: From: Arnd Bergmann Two new functions were introduced as global functions when they are only called from inside the file that defines them and should have been static: security/apparmor/lsm.c:658:5: error: no previous prototype for 'apparmor_uring_overr