Skip to content

Commit 6ddd169

Browse files
goongascschaufler
authored andcommitted
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>
1 parent 674e2b2 commit 6ddd169

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

security/smack/smack_access.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -642,9 +642,11 @@ struct smack_known *smk_import_entry(const char *string, int len)
642642

643643
/**
644644
* smk_import_valid_label - import a label, return the list entry
645-
* @label a text string that is a valid Smack label, not null-terminated
645+
* @label: a text string that is a valid Smack label, not null-terminated
646+
* @label_len: the length of the text string in the @label
647+
* @gfp: the GFP mask used for allocating memory for the @label text string copy
646648
*
647-
* Returns: see description of smk_import_entry()
649+
* Return: see description of smk_import_entry()
648650
*/
649651
struct smack_known *
650652
smk_import_valid_label(const char *label, int label_len, gfp_t gfp)

0 commit comments

Comments
 (0)