move_module() pr_debug's "Final section addresses for $modname". Add section addresses to the message, for anyone looking at these. no functional changes.
Showing the changes to kernel/module (1 of 1 file). Show all
Unified · Split
| @@ -2281,8 +2281,8 @@ static int move_module(struct module *mod, struct load_info *info) · 2280 unmodified lines | ||
| 2281 | 2281 | * minted official memory area. |
| 2282 | 2282 | */ |
| 2283 | 2283 | 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); | |
| 2286 | 2286 | } |
| 2287 | 2287 | |
| 2288 | 2288 | return 0; |