* [PATCH] LSM: lsm_hooks.h - fix missing colon in docstring [not found] <201903211834.Qtb0LJ32%lkp@intel.com> @ 2019-03-25 8:05 ` Ondrej Mosnacek 2019-03-25 14:08 ` Paul Moore 0 siblings, 1 reply; 2+ messages in thread From: Ondrej Mosnacek @ 2019-03-25 8:05 UTC (permalink / raw) To: selinux, Paul Moore Cc: Stephen Smalley, linux-security-module, kbuild-all, Ondrej Mosnacek, kbuild test robot Apparently without it it is incorrect syntax and causes a warning about undocumented struct field. Fixes: b230d5aba2d1 ("LSM: add new hook for kernfs node initialization") Reported-by: kbuild test robot <lkp@intel.com> Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com> --- include/linux/lsm_hooks.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/lsm_hooks.h b/include/linux/lsm_hooks.h index 0dd5bda719e6..b987dc282d63 100644 --- a/include/linux/lsm_hooks.h +++ b/include/linux/lsm_hooks.h @@ -447,7 +447,7 @@ * * Security hooks for kernfs node operations * - * @kernfs_init_security + * @kernfs_init_security: * Initialize the security context of a newly created kernfs node based * on its own and its parent's attributes. * -- 2.20.1 ^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] LSM: lsm_hooks.h - fix missing colon in docstring 2019-03-25 8:05 ` [PATCH] LSM: lsm_hooks.h - fix missing colon in docstring Ondrej Mosnacek @ 2019-03-25 14:08 ` Paul Moore 0 siblings, 0 replies; 2+ messages in thread From: Paul Moore @ 2019-03-25 14:08 UTC (permalink / raw) To: Ondrej Mosnacek Cc: selinux, Stephen Smalley, linux-security-module, kbuild-all, kbuild test robot On Mon, Mar 25, 2019 at 4:05 AM Ondrej Mosnacek <omosnace@redhat.com> wrote: > Apparently without it it is incorrect syntax and causes a warning about > undocumented struct field. > > Fixes: b230d5aba2d1 ("LSM: add new hook for kernfs node initialization") > Reported-by: kbuild test robot <lkp@intel.com> > Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com> > --- > include/linux/lsm_hooks.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) If it makes you feel any better, I didn't realize the colon was that important either. Thanks for the fix, merged into selinux/next. > diff --git a/include/linux/lsm_hooks.h b/include/linux/lsm_hooks.h > index 0dd5bda719e6..b987dc282d63 100644 > --- a/include/linux/lsm_hooks.h > +++ b/include/linux/lsm_hooks.h > @@ -447,7 +447,7 @@ > * > * Security hooks for kernfs node operations > * > - * @kernfs_init_security > + * @kernfs_init_security: > * Initialize the security context of a newly created kernfs node based > * on its own and its parent's attributes. > * > -- > 2.20.1 -- paul moore www.paul-moore.com ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-03-25 14:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <201903211834.Qtb0LJ32%lkp@intel.com>
2019-03-25 8:05 ` [PATCH] LSM: lsm_hooks.h - fix missing colon in docstring Ondrej Mosnacek
2019-03-25 14:08 ` Paul Moore
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox