mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04:00
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>
This commit is contained in:
parent
fbed4fea64
commit
eca0edaf6c
1 changed files with 8 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue