提交 eca0edaf 编写于 作者: M Marcos Paulo de Souza 提交者: Luis Chamberlain

module.h: Document klp_modinfo struct using kdoc

Previously the documentation existed only in Documentation/livepatch
directory.
Signed-off-by: NMarcos Paulo de Souza <mpdesouza@suse.com>
Signed-off-by: NLuis Chamberlain <mcgrof@kernel.org>
上级 fbed4fea
...@@ -352,6 +352,14 @@ struct mod_kallsyms { ...@@ -352,6 +352,14 @@ struct mod_kallsyms {
}; };
#ifdef CONFIG_LIVEPATCH #ifdef CONFIG_LIVEPATCH
/**
* struct klp_modinfo - Elf information preserved from the livepatch module
*
* @hdr: Elf header
* @sechdrs: Section header table
* @secstrings: String table for the section headers
* @symndx: The symbol table section index
*/
struct klp_modinfo { struct klp_modinfo {
Elf_Ehdr hdr; Elf_Ehdr hdr;
Elf_Shdr *sechdrs; Elf_Shdr *sechdrs;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册