[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAErSpo4cUwwJNq45GZhUW02FU+T72OmvGfNcd2d1WhFo86KFOw@mail.gmail.com>
Date: Wed, 23 May 2012 08:25:29 -0600
From: Bjorn Helgaas <bhelgaas@...gle.com>
To: Wen Congyang <wency@...fujitsu.com>
Cc: rob@...dley.net, tglx@...utronix.de,
Ingo Molnar <mingo@...hat.com>, x86@...nel.org,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/2] x86: add max_addr boot option
On Tue, May 22, 2012 at 1:02 AM, Wen Congyang <wency@...fujitsu.com> wrote:
> + if (start >= max_addr) {
> + printk(KERN_INFO "Ingoring memory: %016Lx - %016Lx\n",
> + (unsigned long long)start,
> + (unsigned long long)(start + size));
> + return;
> + }
> +
> + if (max_addr - start < size) {
> + printk(KERN_INFO "Ingoring memory: %016Lx - %016Lx\n",
> + (unsigned long long)max_addr,
> + (unsigned long long)(start + size));
> + size = max_addr - start;
s/Ingoring/Ignoring/
Please use a format like "e820: ignoring [mem %#010Lx-%#010Lx]" so it
matches other places where we print physical address ranges. See
https://lkml.org/lkml/2012/2/13/436
Bjorn
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists