|
@@ -1567,7 +1567,7 @@ static int simplify_symbols(Elf_Shdr *sechdrs,
|
|
}
|
|
}
|
|
|
|
|
|
/* Update size with this section: return offset. */
|
|
/* Update size with this section: return offset. */
|
|
-static long get_offset(unsigned long *size, Elf_Shdr *sechdr)
|
|
|
|
|
|
+static long get_offset(unsigned int *size, Elf_Shdr *sechdr)
|
|
{
|
|
{
|
|
long ret;
|
|
long ret;
|
|
|
|
|
|
@@ -2562,7 +2562,7 @@ static int m_show(struct seq_file *m, void *p)
|
|
struct module *mod = list_entry(p, struct module, list);
|
|
struct module *mod = list_entry(p, struct module, list);
|
|
char buf[8];
|
|
char buf[8];
|
|
|
|
|
|
- seq_printf(m, "%s %lu",
|
|
|
|
|
|
+ seq_printf(m, "%s %u",
|
|
mod->name, mod->init_size + mod->core_size);
|
|
mod->name, mod->init_size + mod->core_size);
|
|
print_unload_info(m, mod);
|
|
print_unload_info(m, mod);
|
|
|
|
|