diff options
| author | Rodrigo Zaiden <rodrigoffzz@gmail.com> | 2026-05-31 16:36:28 -0300 |
|---|---|---|
| committer | John Johansen <john.johansen@canonical.com> | 2026-06-13 20:20:13 -0700 |
| commit | d0691bd5dcaec2350039ecb04fa70faa91ac142d (patch) | |
| tree | 2dc8f5af3f5555e47b04a066967c0d68f8dd1e4e | |
| parent | 4e905ed27c788fbb9ea4384e93ea85b303000d57 (diff) | |
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.
Signed-off-by: Rodrigo Zaiden <rodrigoffzz@gmail.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>
| -rw-r--r-- | security/apparmor/af_unix.c | 2 | ||||
| -rw-r--r-- | security/apparmor/include/policy_unpack.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/security/apparmor/af_unix.c b/security/apparmor/af_unix.c index 834a3b1c2f0a..b9b22edae202 100644 --- a/security/apparmor/af_unix.c +++ b/security/apparmor/af_unix.c @@ -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 diff --git a/security/apparmor/include/policy_unpack.h b/security/apparmor/include/policy_unpack.h index b9de0fdf9ee5..4ea9b6479a3e 100644 --- a/security/apparmor/include/policy_unpack.h +++ b/security/apparmor/include/policy_unpack.h @@ -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 |
