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

PM / Hibernate: print physical addresses consistently with other parts of kernel

Print physical address info in a style consistent with the %pR style
used elsewhere in the kernel.

Commit 69f1d475cc did this for a similar printk in this file, but I
must have missed this one.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

authored by

Bjorn Helgaas and committed by
Rafael J. Wysocki
cd38ca85 d683b96b

+3 -2
+3 -2
kernel/power/snapshot.c
··· 642 642 region->end_pfn = end_pfn; 643 643 list_add_tail(&region->list, &nosave_regions); 644 644 Report: 645 - printk(KERN_INFO "PM: Registered nosave memory: %016lx - %016lx\n", 646 - start_pfn << PAGE_SHIFT, end_pfn << PAGE_SHIFT); 645 + printk(KERN_INFO "PM: Registered nosave memory: [mem %#010llx-%#010llx]\n", 646 + (unsigned long long) start_pfn << PAGE_SHIFT, 647 + ((unsigned long long) end_pfn << PAGE_SHIFT) - 1); 647 648 } 648 649 649 650 /*