diff --git a/security/apparmor/label.c b/security/apparmor/label.c
index ce9c39102a93e6e273f79c856b2098fad8a5372d..8a74e89b05f40467190117c0ad17834bd157d950 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)
 {
diff --git a/security/apparmor/policy_compat.c b/security/apparmor/policy_compat.c
index 18e4ddccf62319abb0c54f50c8707d88fa9cf0b7..423227670e685e2a1af3c4024165f2d2623c93db 100644
--- a/security/apparmor/policy_compat.c
+++ b/security/apparmor/policy_compat.c
@@ -143,7 +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
+ * @size: Returns the permission table size
  *
  * Returns: remapped perm table
  */