s390/extmem: print DCSS range with %px
The DCSS range is currently printed with %p, which results in hashed values instead of the actual addresses. Use %px instead, the DCSS ranges do not reveal any kernel symbol addresses. Signed-off-by: Gerald Schaefer <gerald.schaefer@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:
parent
ca57114609
commit
f1777625c5
@ -367,11 +367,11 @@ __segment_load (char *name, int do_nonshared, unsigned long *addr, unsigned long
|
||||
*addr = seg->start_addr;
|
||||
*end = seg->end;
|
||||
if (do_nonshared)
|
||||
pr_info("DCSS %s of range %p to %p and type %s loaded as "
|
||||
pr_info("DCSS %s of range %px to %px and type %s loaded as "
|
||||
"exclusive-writable\n", name, (void*) seg->start_addr,
|
||||
(void*) seg->end, segtype_string[seg->vm_segtype]);
|
||||
else {
|
||||
pr_info("DCSS %s of range %p to %p and type %s loaded in "
|
||||
pr_info("DCSS %s of range %px to %px and type %s loaded in "
|
||||
"shared access mode\n", name, (void*) seg->start_addr,
|
||||
(void*) seg->end, segtype_string[seg->vm_segtype]);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user