From patchwork Mon Jun 3 18:20:29 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Helgaas X-Patchwork-Id: 2654221 Return-Path: X-Original-To: patchwork-linux-pm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 2CB70DF24C for ; Mon, 3 Jun 2013 18:20:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759544Ab3FCSUc (ORCPT ); Mon, 3 Jun 2013 14:20:32 -0400 Received: from mail-ie0-f169.google.com ([209.85.223.169]:65100 "EHLO mail-ie0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759319Ab3FCSUc (ORCPT ); Mon, 3 Jun 2013 14:20:32 -0400 Received: by mail-ie0-f169.google.com with SMTP id 10so9744374ied.28 for ; Mon, 03 Jun 2013 11:20:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=subject:to:from:cc:date:message-id:user-agent:mime-version :content-type:content-transfer-encoding; bh=/DWZyv7LVMmddvj193UIKwrC5l+8yBHK+5Ho7Xei+y4=; b=CBRMD3oMOPlFjJElulqZRrZ5DO7+4lzXH833X+qc/8WOSdz8SWbu4pJztf3Kvfs1Jv XUR9dQYbmbUulogOzM/obDUJvjJF6QOXJNk41T7YGtaF1dIdF22PMP/pWG8BFof99c+v kPMqj+x4mychRxBGe/KRH5OSppkJiFCglxA1rRVIKVSasfgM63eM3SDp/fKKbBdjOYcZ Ox5FcgoleisaaP/Dp30tSE96k7uA5vdboy59rnZVFMP+Eu0NMPnPfP9ObwxIoCu3CHBO 35AY8RhfUM68GjeoWuz/ScsMYkzMXI6hEyBR0ItFLo9bYDPkkZi+UDjTIjikOZvUEr0S XR9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=subject:to:from:cc:date:message-id:user-agent:mime-version :content-type:content-transfer-encoding:x-gm-message-state; bh=/DWZyv7LVMmddvj193UIKwrC5l+8yBHK+5Ho7Xei+y4=; b=Hy+C9oSO+jIjsSsxI/jylbqm/YMl/WZfI9y0j9YuEwAsfjiYRdBRRG9FuzuvmNfzVF WcxX2MQ/2TJ5JhqpaCYjuqpjgBNK2tnOaJ5a4huNLg80z0n48FKqKGzyBrSVD2q8egyj vgIHWMMiiVAdBmMKM1qREzT6IBPiNuclP3knkNWzkKFArF3yEy4dcAJfG+wFmLD1Af7d lCbWt2h4X73zxNpCuupDaoHXUfd/l2hp4dIcBQkGKxNMRFao4XAXgJDi0lo6axzUFXaT oKAZrlMpSjJ52LbN0BRL/qGIAbbxD6vzdh8B6RGAR/CeK5GecQ4MPLHXWQy4h5bM5wU5 tVnQ== X-Received: by 10.42.203.68 with SMTP id fh4mr11151978icb.36.1370283631616; Mon, 03 Jun 2013 11:20:31 -0700 (PDT) Received: from localhost ([172.16.55.72]) by mx.google.com with ESMTPSA id d9sm20589886igr.4.2013.06.03.11.20.30 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 03 Jun 2013 11:20:30 -0700 (PDT) Subject: [PATCH] PM / Hibernate: print physical addresses consistently with other parts of kernel To: "Rafael J. Wysocki" , Len Brown , Pavel Machek From: Bjorn Helgaas Cc: linux-pm@vger.kernel.org Date: Mon, 03 Jun 2013 12:20:29 -0600 Message-ID: <20130603182029.16063.60343.stgit@bhelgaas-glaptop> User-Agent: StGit/0.16 MIME-Version: 1.0 X-Gm-Message-State: ALoCoQkJu/aIjY4DRbeMmOd8vyDRBadVf9gTD8BQltywmtq6itoyU4vYCfc+FCSye7dTnEaJSAKmNpxLac8tu0FUv2OcmDzF+31YqPVqef5G2CMHLhwEhPfMxkkd4IgPMJofYs9u3xvx/X99VfAWikejuezE0gFJpSQuH1gDihYD0JAyl3fkDY8Nrwze/S2v+rZmVnb0ZEgr Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Print physical address info in a style consistent with the %pR style used elsewhere in the kernel. 69f1d475cc did this for a similar printk in this file, but I must have missed this one. Signed-off-by: Bjorn Helgaas --- kernel/power/snapshot.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-pm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/kernel/power/snapshot.c b/kernel/power/snapshot.c index 0de2857..7872a35 100644 --- a/kernel/power/snapshot.c +++ b/kernel/power/snapshot.c @@ -642,8 +642,9 @@ __register_nosave_region(unsigned long start_pfn, unsigned long end_pfn, region->end_pfn = end_pfn; list_add_tail(®ion->list, &nosave_regions); Report: - printk(KERN_INFO "PM: Registered nosave memory: %016lx - %016lx\n", - start_pfn << PAGE_SHIFT, end_pfn << PAGE_SHIFT); + printk(KERN_INFO "PM: Registered nosave memory: [mem %#010llx-%#010llx]\n", + (unsigned long long) start_pfn << PAGE_SHIFT, + ((unsigned long long) end_pfn << PAGE_SHIFT) - 1); } /*