[PATCH] smack: fix the smack_lsmprop_to_secctx() kdoc

Paul Moore paul at paul-moore.com
Fri Nov 1 16:52:44 UTC 2024


Trivial kdoc fix to correct a fixup omission when converting to the
lsm_context struct in the LSM and Smack.

Reported-by: kernel test robot <lkp at intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202411011723.I59qZ7Ke-lkp@intel.com/
Signed-off-by: Paul Moore <paul at paul-moore.com>
---
 security/smack/smack_lsm.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/security/smack/smack_lsm.c b/security/smack/smack_lsm.c
index c9ec4d93fb13..55a556f17ade 100644
--- a/security/smack/smack_lsm.c
+++ b/security/smack/smack_lsm.c
@@ -4851,8 +4851,7 @@ static int smack_secid_to_secctx(u32 secid, struct lsm_context *cp)
 /**
  * smack_lsmprop_to_secctx - return the smack label
  * @prop: includes incoming Smack data
- * @secdata: destination
- * @seclen: how long it is
+ * @cp: destination
  *
  * Exists for audit code.
  */
-- 
2.47.0




More information about the Linux-security-module-archive mailing list