summaryrefslogtreecommitdiff
path: root/security/smack/smack_access.c
diff options
context:
space:
mode:
authorCasey Schaufler <casey@schaufler-ca.com>2025-11-11 12:00:18 -0800
committerCasey Schaufler <casey@schaufler-ca.com>2025-11-11 12:00:18 -0800
commit29c701f90b9341f1f9c1854a9c22b71c2318457d (patch)
treeba32f070dfd18a2d58fdadb55884ccafef30e54b /security/smack/smack_access.c
parent6ddd169d0288ebee8ec9afcd75825ce8476edb00 (diff)
Smack: function parameter 'gfp' not described
Add a descrition of the gfp parameter to smk_import_allocated_label(). Signed-off-by: Casey Schaufler <casey@schaufler-ca.com> Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202511061746.dPegBnNf-lkp@intel.com/
Diffstat (limited to 'security/smack/smack_access.c')
-rw-r--r--security/smack/smack_access.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/security/smack/smack_access.c b/security/smack/smack_access.c
index 09167be79122..fc507dcc7ea5 100644
--- a/security/smack/smack_access.c
+++ b/security/smack/smack_access.c
@@ -576,6 +576,7 @@ int smack_populate_secattr(struct smack_known *skp)
* smk_import_valid_allocated_label - import a label, return the list entry
* @smack: a text string that is a valid Smack label and may be kfree()ed.
* It is consumed: either becomes a part of the entry or kfree'ed.
+ * @gfp: Allocation type
*
* Returns: see description of smk_import_entry()
*/