Re: [PATCH 6/8] mm: don't include <linux/memremap.h> in <linux/mm.h>

From: Christoph Hellwig
Date: Wed Feb 09 2022 - 01:26:28 EST


On Tue, Feb 08, 2022 at 03:53:14PM -0800, Dan Williams wrote:
> Yeah, same as Logan:
>
> mm/memcontrol.c: In function ‘get_mctgt_type’:
> mm/memcontrol.c:5724:29: error: implicit declaration of function
> ‘is_device_private_page’; did you mean
> ‘is_device_private_entry’? [-Werror=implicit-function-declaration]
> 5724 | if (is_device_private_page(page))
> | ^~~~~~~~~~~~~~~~~~~~~~
> | is_device_private_entry
>
> ...needs:

Yeah, the buildbot also complained. I've fixed this up locally now.