Skip to contentSkip to conversation

apparmor: fix kernel-doc warnings

PATCH New Rodrigo Zaiden 1 participant 1 message May 31

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 apparmor: fix kernel-doc warnings

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.

---
 security/apparmor/af_unix.c               | 2 +-
 security/apparmor/include/policy_unpack.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
security/apparmor/af_unix.c +1 -1
index fdb4a9f212c3..ec6018662b1a 100644
@@ -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
security/apparmor/include/policy_unpack.h +1 -1
index e5a95dc4da1f..0399cec16fe8 100644
@@ -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
Signature · 1 line
2.43.0