Re: [PATCH v2 1/2] mm: fix the pfn calculation mistake in __ioremap_check_ram

From: Thomas Gleixner
Date: Mon Jun 21 2021 - 04:06:24 EST


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.