From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bjorn Helgaas Subject: Re: [PATCH 03/25] lmb: Print new doubled array location info Date: Tue, 29 Jun 2010 12:48:46 -0600 Message-ID: <201006291248.48191.bjorn.helgaas@hp.com> References: <1277227614-11581-1-git-send-email-yinghai@kernel.org> <201006291144.14469.bjorn.helgaas@hp.com> <4C2A3DB4.70308@zytor.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Return-path: Received: from g4t0014.houston.hp.com ([15.201.24.17]:43146 "EHLO g4t0014.houston.hp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752206Ab0F2Sw5 (ORCPT ); Tue, 29 Jun 2010 14:52:57 -0400 In-Reply-To: <4C2A3DB4.70308@zytor.com> Sender: linux-arch-owner@vger.kernel.org List-ID: To: "H. Peter Anvin" Cc: Yinghai Lu , Ingo Molnar , Thomas Gleixner , Andrew Morton , David Miller , Benjamin Herrenschmidt , Linus Torvalds , Johannes Weiner , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org On Tuesday, June 29, 2010 12:38:44 pm H. Peter Anvin wrote: > On 06/29/2010 10:44 AM, Bjorn Helgaas wrote: > > On Tuesday, June 22, 2010 11:26:32 am Yinghai Lu wrote: > >> + if (lmb_debug) > >> + pr_info("lmb: %s array is doubled to %ld at %llx - %llx", > >> + lmb_type_name(type), type->max * 2, (u64)addr, (u64)addr + new_size); > > > > Please print this memory range the same way we print resources, e.g., > > "%#010llx-%#010llx", with "addr" and "addr + new_size - 1". > > *Ten* hex digits? I think that width includes the "0x" prefix, so it's really eight digits.