[PATCH] apparmor: remove duplicated 'Returns:' comments
John Johansen
john.johansen at canonical.com
Fri Nov 12 01:25:41 UTC 2021
On 11/3/21 2:25 AM, Austin Kim wrote:
> It might look better if duplicated 'Returns:' comment is removed.
>
> Signed-off-by: Austin Kim <austindh.kim at gmail.com>
sorry, it looks like I forgot to reply to this. I pulled this into the
apparmor tree and it has been merged for 5.16
> ---
> security/apparmor/procattr.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/security/apparmor/procattr.c b/security/apparmor/procattr.c
> index c929bf4a3df1..fde332e0ea7d 100644
> --- a/security/apparmor/procattr.c
> +++ b/security/apparmor/procattr.c
> @@ -21,8 +21,6 @@
> * @profile: the profile to print profile info about (NOT NULL)
> * @string: Returns - string containing the profile info (NOT NULL)
> *
> - * Returns: length of @string on success else error on failure
> - *
> * Requires: profile != NULL
> *
> * Creates a string containing the namespace_name://profile_name for
>
More information about the Linux-security-module-archive
mailing list