From: Manuel Ebner <manuelebnerli@mailbox.org>
To: Casey Schaufler <casey@schaufler-ca.com>,
Paul Moore <paul@paul-moore.com>,
James Morris <jmorris@namei.org>,
"Serge E. Hallyn" <serge@hallyn.com>
Cc: Manuel Ebner <manuelebnerli@mailbox.org>,
linux-security-module@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: [PATCH] security: smack: fix typo in kernel-doc
Date: Wed, 11 Nov 2026 20:15:47 +0100 [thread overview]
Message-ID: <20261111191548.538644-1-manuelebnerli@mailbox.org> (raw)
Fix function name in kernel-doc, fixing:
$ ./scripts/kernel-doc --none security/smack/smack_access.c
Warning: security/smack/smack_access.c:593 expecting prototype for smk_import_valid_allocated_label(). Prototype was for smk_import_allocated_label() instead
Fixes: 674e2b24791c ("smack: fix bug: setting task label silently ignores input garbage")
Signed-off-by: Manuel Ebner <manuelebnerli@mailbox.org>
---
security/smack/smack_access.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/security/smack/smack_access.c b/security/smack/smack_access.c
index fb85356266..085b75ce6d 100644
--- a/security/smack/smack_access.c
+++ b/security/smack/smack_access.c
@@ -582,7 +582,7 @@ int smack_populate_secattr(struct smack_known *skp)
}
/**
- * smk_import_valid_allocated_label - import a label, return the list entry
+ * smk_import_allocated_label - import a label, return the list entry
* @smack: a text string that is a valid Smack label and may be kfree()ed.
* It is consumed: either becomes a part of the entry or kfree'ed.
* @gfp: Allocation type
--
2.56.0
reply other threads:[~2026-11-11 19:16 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261111191548.538644-1-manuelebnerli@mailbox.org \
--to=manuelebnerli@mailbox.org \
--cc=casey@schaufler-ca.com \
--cc=jmorris@namei.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-security-module@vger.kernel.org \
--cc=paul@paul-moore.com \
--cc=serge@hallyn.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®