Re: [PATCH -next] mm/nommu: Fix return type of filemap_map_pages()

From: Will Deacon
Date: Thu Jan 28 2021 - 13:32:52 EST


On Thu, 28 Jan 2021 11:06:26 +0100, Geert Uytterhoeven wrote:
> If CONFIG_MMU is not set (e.g. m68k/m5272c3_defconfig):
>
> mm/nommu.c:1671:6: error: conflicting types for ‘filemap_map_pages’
> 1671 | void filemap_map_pages(struct vm_fault *vmf,
> | ^~~~~~~~~~~~~~~~~
> In file included from mm/nommu.c:20:
> ./include/linux/mm.h:2578:19: note: previous declaration of ‘filemap_map_pages’ was here
> 2578 | extern vm_fault_t filemap_map_pages(struct vm_fault *vmf,
> | ^~~~~~~~~~~~~~~~~
>
> [...]

Applied to arm64 (for-next/faultaround), thanks!

[1/1] mm/nommu: Fix return type of filemap_map_pages()
https://git.kernel.org/arm64/c/3f98a28cc372

Cheers,
--
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev