mirror of
https://github.com/torvalds/linux.git
synced 2026-05-31 02:24:24 +02: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
|
|
@ -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 New Issue
Block a user