Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'modules-for-v4.17-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/jeyu/linux

Pull modules fix from Jessica Yu:
"Fix display of module section addresses in sysfs, which were getting
hashed with %pK and breaking tools like perf"

* tag 'modules-for-v4.17-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/jeyu/linux:
module: Fix display of wrong module .text address

+2 -1
+2 -1
kernel/module.c
··· 1472 1472 { 1473 1473 struct module_sect_attr *sattr = 1474 1474 container_of(mattr, struct module_sect_attr, mattr); 1475 - return sprintf(buf, "0x%pK\n", (void *)sattr->address); 1475 + return sprintf(buf, "0x%px\n", kptr_restrict < 2 ? 1476 + (void *)sattr->address : NULL); 1476 1477 } 1477 1478 1478 1479 static void free_sect_attrs(struct module_sect_attrs *sect_attrs)