Messages in this thread | | | Date | Tue, 17 Nov 2020 12:47:31 +0100 | From | Thomas Bogendoerfer <> | Subject | Re: [PATCH] MIPS: kernel: Fix for_each_memblock conversion |
| |
On Mon, Nov 16, 2020 at 06:45:15PM +0100, Thomas Bogendoerfer wrote: > The loop over all memblocks works with PFN numbers and not physical > addresses, so we need for_each_mem_pfn_range(). > > Fixes: b10d6bca8720 ("arch, drivers: replace for_each_membock() with for_each_mem_range()") > Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de> > --- > arch/mips/kernel/setup.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-)
applied to mips-fixes.
Thomas.
-- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]
| |