summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Andreev <andreev@swemel.ru>2025-06-26 19:47:29 +0300
committerCasey Schaufler <casey@schaufler-ca.com>2025-06-30 13:02:49 -0700
commit6ddd169d0288ebee8ec9afcd75825ce8476edb00 (patch)
tree405dfe766cd5bc6fe1ca6338c225e9feed338660
parent674e2b24791cbe8fd5dc8a0aed4cb4404fcd2028 (diff)
smack: fix kernel-doc warnings for smk_import_valid_label()
Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202506251712.x5SJiNlh-lkp@intel.com/ Signed-off-by: Konstantin Andreev <andreev@swemel.ru> Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
-rw-r--r--security/smack/smack_access.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/security/smack/smack_access.c b/security/smack/smack_access.c
index a289cb6672bd..09167be79122 100644
--- a/security/smack/smack_access.c
+++ b/security/smack/smack_access.c
@@ -642,9 +642,11 @@ struct smack_known *smk_import_entry(const char *string, int len)
/**
* smk_import_valid_label - import a label, return the list entry
- * @label a text string that is a valid Smack label, not null-terminated
+ * @label: a text string that is a valid Smack label, not null-terminated
+ * @label_len: the length of the text string in the @label
+ * @gfp: the GFP mask used for allocating memory for the @label text string copy
*
- * Returns: see description of smk_import_entry()
+ * Return: see description of smk_import_entry()
*/
struct smack_known *
smk_import_valid_label(const char *label, int label_len, gfp_t gfp)