From: Marcos Paulo de Souza Date: Fri, 3 Feb 2023 12:22:21 +0000 (-0300) Subject: module.h: Document klp_modinfo struct using kdoc X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=eca0edaf6caa66b6eb26277a7dce5d7296cedfca;p=linux.git module.h: Document klp_modinfo struct using kdoc Previously the documentation existed only in Documentation/livepatch directory. Signed-off-by: Marcos Paulo de Souza Signed-off-by: Luis Chamberlain --- diff --git a/include/linux/module.h b/include/linux/module.h index 8c5909c0076c6..6449ea59c0744 100644 --- a/include/linux/module.h +++ b/include/linux/module.h @@ -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;