ACPI / PM: print physical addresses consistently with other parts of kernel
authorBjorn Helgaas <bhelgaas@google.com>
Tue, 14 Feb 2012 00:04:43 +0000 (17:04 -0700)
committerLen Brown <len.brown@intel.com>
Fri, 30 Mar 2012 06:46:57 +0000 (02:46 -0400)
Print physical address info in a style consistent with the %pR style used
elsewhere in the kernel.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/nvs.c

index 7a2035fa8c713d660a697d0d49e0a430476ed9fa..266bc58ce0ce165eb4c1a6bf707c7af5d5080c36 100644 (file)
@@ -95,8 +95,8 @@ static int suspend_nvs_register(unsigned long start, unsigned long size)
 {
        struct nvs_page *entry, *next;
 
-       pr_info("PM: Registering ACPI NVS region at %lx (%ld bytes)\n",
-               start, size);
+       pr_info("PM: Registering ACPI NVS region [mem %#010lx-%#010lx] (%ld bytes)\n",
+               start, start + size - 1, size);
 
        while (size > 0) {
                unsigned int nr_bytes;