summaryrefslogtreecommitdiff
path: root/kernel/module
diff options
context:
space:
mode:
authorJim Cromie <jim.cromie@gmail.com>2023-03-21 19:36:21 -0600
committerLuis Chamberlain <mcgrof@kernel.org>2023-03-24 11:33:09 -0700
commitb10addf37bbcaee66672eb54c15532266c8daea6 (patch)
treee012d2dc7996a0dd18c84e1268c3e96a81a14c7f /kernel/module
parent6ed81802d4d1b037ad2d1657511ff0c2e9aeda14 (diff)
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>
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 3bea679837e0..6567d5a156ae 100644
--- a/kernel/module/main.c
+++ b/kernel/module/main.c
@@ -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: