Skip to content

Commit f412eef

Browse files
marcospsmcgrof
authored andcommitted
Documentation: livepatch: module-elf-format: Remove local klp_modinfo definition
Refer to klp_modinfo declaration using kdoc. Signed-off-by: Marcos Paulo de Souza <mpdesouza@suse.com> Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
1 parent eca0eda commit f412eef

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

Documentation/livepatch/module-elf-format.rst

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -298,12 +298,5 @@ A livepatch module's symbol table is accessible through module->symtab.
298298
Since apply_relocate_add() requires access to a module's section headers,
299299
symbol table, and relocation section indices, Elf information is preserved for
300300
livepatch modules and is made accessible by the module loader through
301-
module->klp_info, which is a klp_modinfo struct. When a livepatch module loads,
302-
this struct is filled in by the module loader. Its fields are documented below::
303-
304-
struct klp_modinfo {
305-
Elf_Ehdr hdr; /* Elf header */
306-
Elf_Shdr *sechdrs; /* Section header table */
307-
char *secstrings; /* String table for the section headers */
308-
unsigned int symndx; /* The symbol table section index */
309-
};
301+
module->klp_info, which is a :c:type:`klp_modinfo` struct. When a livepatch module
302+
loads, this struct is filled in by the module loader.

0 commit comments

Comments
 (0)