Commit b10addf3 authored by Jim Cromie's avatar Jim Cromie Committed by Luis Chamberlain

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: default avatarJim Cromie <jim.cromie@gmail.com>
Signed-off-by: default avatarLuis Chamberlain <mcgrof@kernel.org>
parent 6ed81802
...@@ -1394,8 +1394,8 @@ static int simplify_symbols(struct module *mod, const struct load_info *info) ...@@ -1394,8 +1394,8 @@ static int simplify_symbols(struct module *mod, const struct load_info *info)
case SHN_ABS: case SHN_ABS:
/* Don't need to do anything */ /* Don't need to do anything */
pr_debug("Absolute symbol: 0x%08lx\n", pr_debug("Absolute symbol: 0x%08lx %s\n",
(long)sym[i].st_value); (long)sym[i].st_value, name);
break; break;
case SHN_LIVEPATCH: case SHN_LIVEPATCH:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment