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