Commit 66a2301e authored by Jim Cromie's avatar Jim Cromie Committed by Luis Chamberlain
Browse files

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: default avatarJim Cromie <jim.cromie@gmail.com>
Signed-off-by: default avatarLuis Chamberlain <mcgrof@kernel.org>
parent b10addf3
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;