]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
apparmor: fix kernel-doc warnings
authorRodrigo Zaiden <rodrigoffzz@gmail.com>
Sun, 31 May 2026 19:36:28 +0000 (16:36 -0300)
committerJohn Johansen <john.johansen@canonical.com>
Sun, 14 Jun 2026 03:20:13 +0000 (20:20 -0700)
Fix two kernel-doc warnings:
- non-kernel-doc comment marked with '/**' in af_unix.c
- documented symbol name mismatch for aa_get_i_loaddata() in
  policy_unpack.h

No functional changes.

Signed-off-by: Rodrigo Zaiden <rodrigoffzz@gmail.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>
security/apparmor/af_unix.c
security/apparmor/include/policy_unpack.h

index 834a3b1c2f0af49484fa5c6d864faa08548e2d48..b9b22edae2029d1e35ff2a79ed3720ea76c450c9 100644 (file)
@@ -615,7 +615,7 @@ static int unix_peer_perm(const struct cred *subj_cred,
                                          peer_label, &ad));
 }
 
-/**
+/*
  *
  * Requires: lock held on both @sk and @peer_sk
  *           called by unix_stream_connect, unix_may_send
index b9de0fdf9ee52156d6aa19c9d998e76396d171f4..4ea9b6479a3ed70aa14656445d63d7c8766b45c0 100644 (file)
@@ -131,7 +131,7 @@ struct aa_loaddata {
 int aa_unpack(struct aa_loaddata *udata, struct list_head *lh, const char **ns);
 
 /**
- * aa_get_loaddata - get a reference count from a counted data reference
+ * aa_get_i_loaddata - get a reference count from a counted data reference
  * @data: reference to get a count on
  *
  * Returns: pointer to reference