summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)