mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-30 22:26:55 +00:00
module: add symbol-name to pr_debug Absolute symbol
The pr_debug("Absolute symbol" ..) reports value, (which is usually 0), but not the name, which is more informative. So add it. no functional changes Signed-off-by: Jim Cromie <jim.cromie@gmail.com> Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
This commit is contained in:
parent
6ed81802d4
commit
b10addf37b
1 changed files with 2 additions and 2 deletions
|
@ -1394,8 +1394,8 @@ static int simplify_symbols(struct module *mod, const struct load_info *info)
|
|||
|
||||
case SHN_ABS:
|
||||
/* Don't need to do anything */
|
||||
pr_debug("Absolute symbol: 0x%08lx\n",
|
||||
(long)sym[i].st_value);
|
||||
pr_debug("Absolute symbol: 0x%08lx %s\n",
|
||||
(long)sym[i].st_value, name);
|
||||
break;
|
||||
|
||||
case SHN_LIVEPATCH:
|
||||
|
|
Loading…
Reference in a new issue