]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
Smack: function parameter 'gfp' not described
authorCasey Schaufler <casey@schaufler-ca.com>
Tue, 11 Nov 2025 20:00:18 +0000 (12:00 -0800)
committerCasey Schaufler <casey@schaufler-ca.com>
Tue, 11 Nov 2025 20:00:18 +0000 (12:00 -0800)
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/
security/smack/smack_access.c

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