diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2023-02-28 15:11:06 +0300 |
---|---|---|
committer | Petr Mladek <pmladek@suse.com> | 2023-03-09 11:08:24 +0100 |
commit | 6486a57f05d3d40aa8698908de16feebe52e9f13 (patch) | |
tree | c8c28b4b7c755c296c18202b2bca97f603be77c3 /kernel/module | |
parent | c538944d8efb14e9809b685608490b017bfc2d48 (diff) | |
download | lwn-6486a57f05d3d40aa8698908de16feebe52e9f13.tar.gz lwn-6486a57f05d3d40aa8698908de16feebe52e9f13.zip |
livepatch: fix ELF typos
ELF is acronym.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/Y/3vWjQ/SBA5a0i5@p183
Diffstat (limited to 'kernel/module')
-rw-r--r-- | kernel/module/livepatch.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kernel/module/livepatch.c b/kernel/module/livepatch.c index 486d4ff92719..a89f01e1d6b7 100644 --- a/kernel/module/livepatch.c +++ b/kernel/module/livepatch.c @@ -11,7 +11,7 @@ #include "internal.h" /* - * Persist Elf information about a module. Copy the Elf header, + * Persist ELF information about a module. Copy the ELF header, * section header table, section string table, and symtab section * index from info to mod->klp_info. */ @@ -25,11 +25,11 @@ int copy_module_elf(struct module *mod, struct load_info *info) if (!mod->klp_info) return -ENOMEM; - /* Elf header */ + /* ELF header */ size = sizeof(mod->klp_info->hdr); memcpy(&mod->klp_info->hdr, info->hdr, size); - /* Elf section header table */ + /* ELF section header table */ size = sizeof(*info->sechdrs) * info->hdr->e_shnum; mod->klp_info->sechdrs = kmemdup(info->sechdrs, size, GFP_KERNEL); if (!mod->klp_info->sechdrs) { @@ -37,7 +37,7 @@ int copy_module_elf(struct module *mod, struct load_info *info) goto free_info; } - /* Elf section name string table */ + /* ELF section name string table */ size = info->sechdrs[info->hdr->e_shstrndx].sh_size; mod->klp_info->secstrings = kmemdup(info->secstrings, size, GFP_KERNEL); if (!mod->klp_info->secstrings) { @@ -45,7 +45,7 @@ int copy_module_elf(struct module *mod, struct load_info *info) goto free_sechdrs; } - /* Elf symbol section index */ + /* ELF symbol section index */ symndx = info->index.sym; mod->klp_info->symndx = symndx; |