aboutsummaryrefslogtreecommitdiff
path: root/include/linux/lsm_hooks.h
diff options
context:
space:
mode:
authorOndrej Mosnacek <omosnace@redhat.com>2019-03-25 09:05:35 +0100
committerPaul Moore <paul@paul-moore.com>2019-03-25 10:06:30 -0400
commit24f7c45fdb2a17ef6ad3142e9a8ba4066ac674a2 (patch)
treeb00653ac1657fa8831d8d4cf183f9b87e255fa20 /include/linux/lsm_hooks.h
parentc72c4cde8095aa0e4336cb337dac25d6e347240d (diff)
LSM: lsm_hooks.h - fix missing colon in docstring
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> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'include/linux/lsm_hooks.h')
-rw-r--r--include/linux/lsm_hooks.h2
1 files changed, 1 insertions, 1 deletions
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.
*