[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87sg1bfxqc.ffs@nanos.tec.linutronix.de>
Date: Mon, 21 Jun 2021 10:06:19 +0200
From: Thomas Gleixner <tglx@...utronix.de>
To: Yaohui Wang <yaohuiwang@...ux.alibaba.com>,
dave.hansen@...ux.intel.com
Cc: luto@...nel.org, peterz@...radead.org, mingo@...hat.com,
bp@...en8.de, x86@...nel.org, linux-kernel@...r.kernel.org,
Ben Luo <luoben@...ux.alibaba.com>,
Yahui Wang <yaohuiwang@...ux.alibaba.com>
Subject: Re: [PATCH v2 1/2] mm: fix the pfn calculation mistake in __ioremap_check_ram
On Sat, Jun 19 2021 at 23:22, Thomas Gleixner wrote:
> Please make that:
>
> start_pfn = PFN_DOWN(res->start);
> stop_pfn = PFN_UP(res->end);
That should obviously be PFN_DOWN(res->end) as well.
Powered by blists - more mailing lists