From: Casey Schaufler Date: Tue, 11 Nov 2025 20:00:18 +0000 (-0800) Subject: Smack: function parameter 'gfp' not described X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=29c701f90b9341f1f9c1854a9c22b71c2318457d;p=thirdparty%2Flinux.git Smack: function parameter 'gfp' not described Add a descrition of the gfp parameter to smk_import_allocated_label(). Signed-off-by: Casey Schaufler Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202511061746.dPegBnNf-lkp@intel.com/ --- diff --git a/security/smack/smack_access.c b/security/smack/smack_access.c index 09167be791220..fc507dcc7ea5a 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() */