Hi all, Today's linux-next merge of the akpm-current tree got a conflict in: arch/powerpc/mm/kasan/kasan_init_32.c between commit: 4c42dc5c69a8 ("powerpc/kasan: Fix CONFIG_KASAN_VMALLOC for 8xx") from the powerpc tree and commit: 76713c119a9d ("arch, drivers: replace for_each_membock() with for_each_mem_range()") from the akpm-current tree. I fixed it up (see below) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts. -- Cheers, Stephen Rothwell diff --cc arch/powerpc/mm/kasan/kasan_init_32.c index 929716ea21e9,26fda3203320..000000000000 --- a/arch/powerpc/mm/kasan/kasan_init_32.c +++ b/arch/powerpc/mm/kasan/kasan_init_32.c @@@ -137,12 -138,12 +137,12 @@@ void __init kasan_mmu_init(void void __init kasan_init(void) { - struct memblock_region *reg; + phys_addr_t base, end; + int ret; + u64 i; - for_each_memblock(memory, reg) { - phys_addr_t base = reg->base; - phys_addr_t top = min(base + reg->size, total_lowmem); + for_each_mem_range(i, &base, &end) { + phys_addr_t top = min(end, total_lowmem); - int ret; if (base >= top) continue;
Attachment:
pgpwvR7F_2HwO.pgp
Description: OpenPGP digital signature