Message ID | 20190325080535.19475-1-omosnace@redhat.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | LSM: lsm_hooks.h - fix missing colon in docstring | expand |
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
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. *
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(-)