From: Konstantin Andreev Date: Thu, 26 Jun 2025 16:47:29 +0000 (+0300) Subject: smack: fix kernel-doc warnings for smk_import_valid_label() X-Git-Url: https://gentwo.org/gitweb/?a=commitdiff_plain;h=6ddd169d0288ebee8ec9afcd75825ce8476edb00;p=linux%2F.git smack: fix kernel-doc warnings for smk_import_valid_label() Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202506251712.x5SJiNlh-lkp@intel.com/ Signed-off-by: Konstantin Andreev Signed-off-by: Casey Schaufler --- 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)