History

module: add section-size to move_module pr_debug

move_module() pr_debug's "Final section addresses for $modname". Add section addresses to the message, for anyone looking at these. no functional changes.

Jim Cromie committed 3 years ago

Commit 66a23011 parent b10addf1 file · +2 −2Browse files

Showing the changes to kernel/module (1 of 1 file). Show all

Unified · Split

kernel/module/main.c+2−2
@@ -2281,8 +2281,8 @@ static int move_module(struct module *mod, struct load_info *info) · 2280 unmodified lines
22812281 * minted official memory area.
22822282 */
22832283 shdr->sh_addr = (unsigned long)dest;
2284− pr_debug("\t0x%lx %s\n",
2285− (long)shdr->sh_addr, info->secstrings + shdr->sh_name);
2284+ pr_debug("\t0x%lx 0x%.8lx %s\n", (long)shdr->sh_addr,
2285+ (long)shdr->sh_size, info->secstrings + shdr->sh_name);
22862286 }
22872287
22882288 return 0;