Skip to content

Commit eca0eda

Browse files
marcospsmcgrof
authored andcommitted
module.h: Document klp_modinfo struct using kdoc
Previously the documentation existed only in Documentation/livepatch directory. Signed-off-by: Marcos Paulo de Souza <mpdesouza@suse.com> Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
1 parent fbed4fe commit eca0eda

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

include/linux/module.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,14 @@ struct mod_kallsyms {
352352
};
353353

354354
#ifdef CONFIG_LIVEPATCH
355+
/**
356+
* struct klp_modinfo - Elf information preserved from the livepatch module
357+
*
358+
* @hdr: Elf header
359+
* @sechdrs: Section header table
360+
* @secstrings: String table for the section headers
361+
* @symndx: The symbol table section index
362+
*/
355363
struct klp_modinfo {
356364
Elf_Ehdr hdr;
357365
Elf_Shdr *sechdrs;

0 commit comments

Comments
 (0)