Commit eca0edaf authored by Marcos Paulo de Souza's avatar Marcos Paulo de Souza Committed by Luis Chamberlain
Browse files

module.h: Document klp_modinfo struct using kdoc



Previously the documentation existed only in Documentation/livepatch
directory.

Signed-off-by: default avatarMarcos Paulo de Souza <mpdesouza@suse.com>
Signed-off-by: default avatarLuis Chamberlain <mcgrof@kernel.org>
parent fbed4fea
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -352,6 +352,14 @@ struct mod_kallsyms {
};

#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 {
	Elf_Ehdr hdr;
	Elf_Shdr *sechdrs;