]> Gentwo Git Trees - linux/.git/commit
ipe: policy_fs: fix kernel-doc warnings
authorRandy Dunlap <rdunlap@infradead.org>
Sat, 11 Jan 2025 06:33:18 +0000 (22:33 -0800)
committerFan Wu <wufan@kernel.org>
Mon, 20 Jan 2025 03:57:03 +0000 (19:57 -0800)
commitaefadf03b3e319fe5c406a6e41a9eecd90ac423c
treeff3b1c8506f096eaaf42baca105fdde8568738cd
parent5bc55a333a2f7316b58edc7573e8e893f7acb532
ipe: policy_fs: fix kernel-doc warnings

Use the "struct" keyword in kernel-doc when describing struct
ipefs_file. Add kernel-doc for the struct members also.

Don't use kernel-doc notation for 'policy_subdir'. kernel-doc does
not support documentation comments for data definitions.

This eliminates multiple kernel-doc warnings:

security/ipe/policy_fs.c:21: warning: cannot understand function prototype: 'struct ipefs_file '
security/ipe/policy_fs.c:407: warning: cannot understand function prototype: 'const struct ipefs_file policy_subdir[] = '

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Fan Wu <wufan@kernel.org>
Cc: Paul Moore <paul@paul-moore.com>
Cc: James Morris <jmorris@namei.org>
Cc: Serge E. Hallyn <serge@hallyn.com>
Cc: linux-security-module@vger.kernel.org
Signed-off-by: Fan Wu <wufan@kernel.org>
security/ipe/policy_fs.c