summaryrefslogtreecommitdiff
path: root/scripts/mod/modpost.h
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2020-06-01 08:57:31 +0300
committerMasahiro Yamada <masahiroy@kernel.org>2020-06-06 17:39:20 +0300
commit3b09efc4f0c94669a928c0453d2dcb54c59543f2 (patch)
treee467f682f3a807efbd455393c92586383f28c727 /scripts/mod/modpost.h
parent4de7b62936122570408357417f21072e78292926 (diff)
downloadlinux-3b09efc4f0c94669a928c0453d2dcb54c59543f2.tar.xz
modpost: change elf_info->size to size_t
Align with the mmap / munmap APIs. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts/mod/modpost.h')
-rw-r--r--scripts/mod/modpost.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mod/modpost.h b/scripts/mod/modpost.h
index 254c75378583..3aa052722233 100644
--- a/scripts/mod/modpost.h
+++ b/scripts/mod/modpost.h
@@ -133,7 +133,7 @@ struct module {
};
struct elf_info {
- unsigned long size;
+ size_t size;
Elf_Ehdr *hdr;
Elf_Shdr *sechdrs;
Elf_Sym *symtab_start;