]> Gentwo Git Trees - linux/.git/commitdiff
smack: fix kernel-doc warnings for smk_import_valid_label()
authorKonstantin Andreev <andreev@swemel.ru>
Thu, 26 Jun 2025 16:47:29 +0000 (19:47 +0300)
committerCasey Schaufler <casey@schaufler-ca.com>
Mon, 30 Jun 2025 20:02:49 +0000 (13:02 -0700)
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>
security/smack/smack_access.c

index a289cb6672bd42544c62b0b4224d4cfc4435db74..09167be791220e086843d2911cb72a9a55847cd0 100644 (file)
@@ -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)