diff mbox series

smack: fix the smack_lsmprop_to_secctx() kdoc

Message ID 20241101165243.159021-2-paul@paul-moore.com (mailing list archive)
State Under Review
Delegated to: Paul Moore
Headers show
Series smack: fix the smack_lsmprop_to_secctx() kdoc | expand

Commit Message

Paul Moore Nov. 1, 2024, 4:52 p.m. UTC
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@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202411011723.I59qZ7Ke-lkp@intel.com/
Signed-off-by: Paul Moore <paul@paul-moore.com>
---
 security/smack/smack_lsm.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Comments

Casey Schaufler Nov. 3, 2024, 6:05 p.m. UTC | #1
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@intel.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202411011723.I59qZ7Ke-lkp@intel.com/
> Signed-off-by: Paul Moore <paul@paul-moore.com>

Reviewed-by: Casey Schauflercasey@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.
>   */
Paul Moore Nov. 5, 2024, 10:04 p.m. UTC | #2
On Sun, Nov 3, 2024 at 1:05 PM Casey Schaufler <casey@schaufler-ca.com> wrote:
> 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@intel.com>
> > Closes: https://lore.kernel.org/oe-kbuild-all/202411011723.I59qZ7Ke-lkp@intel.com/
> > Signed-off-by: Paul Moore <paul@paul-moore.com>
>
> Reviewed-by: Casey Schauflercasey@schaufler-ca.com>

Merged into lsm/dev-staging.
diff mbox series

Patch

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.
  */