Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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 <john.johansen@canonical.com>

+4 -4
+3 -3
security/apparmor/label.c
··· 159 159 * @b: aa_profile to compare (NOT NULL) 160 160 * @bn: length of @b 161 161 * 162 - * Returns: <0 if a < vec 163 - * ==0 if a == vec 164 - * >0 if a > vec 162 + * Returns: <0 if @a < @b 163 + * ==0 if @a == @b 164 + * >0 if @a > @b 165 165 */ 166 166 static int vec_cmp(struct aa_profile **a, int an, struct aa_profile **b, int bn) 167 167 {
+1 -1
security/apparmor/policy_compat.c
··· 143 143 * compute_fperms - convert dfa compressed perms to internal perms and store 144 144 * them so they can be retrieved later. 145 145 * @dfa: a dfa using fperms to remap to internal permissions 146 - * @size: the permission table size 146 + * @size: Returns the permission table size 147 147 * 148 148 * Returns: remapped perm table 149 149 */