[PATCH -next 10/11] apparmor: Fix kernel-doc warnings in apparmor/policy_compat.c

Georgia Garcia georgia.garcia at canonical.com
Fri Jul 7 13:56:31 UTC 2023


Hi, Gaosheng Cui

On Sun, 2023-06-25 at 09:13 +0800, Gaosheng Cui wrote:
> Fix kernel-doc warnings:
> 
> security/apparmor/policy_compat.c:151: warning: Function parameter
> or member 'size' not described in 'compute_fperms'
> 
> Signed-off-by: Gaosheng Cui <cuigaosheng1 at huawei.com>
> ---
>  security/apparmor/policy_compat.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/security/apparmor/policy_compat.c b/security/apparmor/policy_compat.c
> index 0cb02da8a319..18e4ddccf623 100644
> --- a/security/apparmor/policy_compat.c
> +++ b/security/apparmor/policy_compat.c
> @@ -143,6 +143,7 @@ static struct aa_perms compute_fperms_other(struct aa_dfa *dfa,
>   * compute_fperms - convert dfa compressed perms to internal perms and store
>   *		    them so they can be retrieved later.
>   * @dfa: a dfa using fperms to remap to internal permissions
> + * @size: the permission table size

I believe the size is returned, right?

>   *
>   * Returns: remapped perm table
>   */

Thanks,
Georgia



More information about the Linux-security-module-archive mailing list