From d2fe16e94cc30c0af5327d5a673dd1761b9edfae Mon Sep 17 00:00:00 2001 From: John Johansen Date: Tue, 8 Aug 2023 13:12:19 -0700 Subject: apparmor: fixup return comments for kernel doc cleanups by Gaosheng Cui [PATCH -next 05/11] apparmor: Fix kernel-doc warnings in apparmor/label.c missed updating the Returns comment for the new parameter names [PATCH -next 05/11] apparmor: Fix kernel-doc warnings in apparmor/label.c Added the @size parameter comment without mentioning it is a return value. Signed-off-by: John Johansen --- security/apparmor/label.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'security/apparmor/label.c') diff --git a/security/apparmor/label.c b/security/apparmor/label.c index ce9c39102a93..8a74e89b05f4 100644 --- a/security/apparmor/label.c +++ b/security/apparmor/label.c @@ -159,9 +159,9 @@ static int profile_cmp(struct aa_profile *a, struct aa_profile *b) * @b: aa_profile to compare (NOT NULL) * @bn: length of @b * - * Returns: <0 if a < vec - * ==0 if a == vec - * >0 if a > vec + * Returns: <0 if @a < @b + * ==0 if @a == @b + * >0 if @a > @b */ static int vec_cmp(struct aa_profile **a, int an, struct aa_profile **b, int bn) { -- cgit v1.2.3