Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

lsm: fix kernel-doc struct member names

Use the correct struct member names to avoid kernel-doc warnings:

Warning: include/linux/lsm_hooks.h:83 struct member 'name' not described
in 'lsm_id'
Warning: include/linux/lsm_hooks.h:183 struct member 'initcall_device' not
described in 'lsm_info'

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Paul Moore <paul@paul-moore.com>

authored by

Randy Dunlap and committed by
Paul Moore
1c0860d4 8f0b4cce

+2 -2
+2 -2
include/linux/lsm_hooks.h
··· 73 73 74 74 /** 75 75 * struct lsm_id - Identify a Linux Security Module. 76 - * @lsm: name of the LSM, must be approved by the LSM maintainers 76 + * @name: name of the LSM, must be approved by the LSM maintainers 77 77 * @id: LSM ID number from uapi/linux/lsm.h 78 78 * 79 79 * Contains the information that identifies the LSM. ··· 164 164 * @initcall_core: LSM callback for core_initcall() setup, optional 165 165 * @initcall_subsys: LSM callback for subsys_initcall() setup, optional 166 166 * @initcall_fs: LSM callback for fs_initcall setup, optional 167 - * @nitcall_device: LSM callback for device_initcall() setup, optional 167 + * @initcall_device: LSM callback for device_initcall() setup, optional 168 168 * @initcall_late: LSM callback for late_initcall() setup, optional 169 169 */ 170 170 struct lsm_info {