[PATCH] smack: fix the smack_lsmprop_to_secctx() kdoc
Casey Schaufler
casey at schaufler-ca.com
Sun Nov 3 18:05:23 UTC 2024
On 11/1/2024 9:52 AM, Paul Moore wrote:
> 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>
Reviewed-by: Casey Schauflercasey at schaufler-ca.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.
> */
More information about the Linux-security-module-archive
mailing list