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

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
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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: