summaryrefslogtreecommitdiff
path: root/kernel/module
diff options
context:
space:
mode:
authorJim Cromie <jim.cromie@gmail.com>2023-03-21 19:36:22 -0600
committerLuis Chamberlain <mcgrof@kernel.org>2023-03-24 11:33:09 -0700
commit66a2301edf313d630c2ece4f3721c5b3402653ee (patch)
treeee6706a8ae98fe773d47ca6f4f554b05514e675c /kernel/module
parentb10addf37bbcaee66672eb54c15532266c8daea6 (diff)
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. Signed-off-by: Jim Cromie <jim.cromie@gmail.com> Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Diffstat (limited to 'kernel/module')
-rw-r--r--kernel/module/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/module/main.c b/kernel/module/main.c
index 6567d5a156ae..1d587e5e9cc6 100644
--- a/kernel/module/main.c
+++ b/kernel/module/main.c
@@ -2281,8 +2281,8 @@ static int move_module(struct module *mod, struct load_info *info)
* minted official memory area.
*/
shdr->sh_addr = (unsigned long)dest;
- pr_debug("\t0x%lx %s\n",
- (long)shdr->sh_addr, info->secstrings + shdr->sh_name);
+ pr_debug("\t0x%lx 0x%.8lx %s\n", (long)shdr->sh_addr,
+ (long)shdr->sh_size, info->secstrings + shdr->sh_name);
}
return 0;