Subject: Re: linux-next: build failure after merge of the pm tree

From: Stephen Rothwell <[email-masked]>
Date: Wed, 18 Mar 2020 22:44:58 +1100

Hi all,

On Tue, 17 Mar 2020 18:52:52 +1100 Stephen Rothwell <[email-masked]> wrote:
>
> Hi all,
> 
> After merging the pm tree, today's linux-next build (x86_64 allnoconfig)
> failed like this:
> 
> fs/libfs.c: In function 'memory_read_from_io_buffer':
> fs/libfs.c:829:2: error: implicit declaration of function 'memcpy_fromio' [-Werror=implicit-function-declaration]
>   829 |  memcpy_fromio(to, from + pos, count);
>       |  ^~~~~~~~~~~~~
> 
> Caused by commit
> 
>   08c07cefb304 ("ACPI: sysfs: copy ACPI data using io memory copying")
> 
> Missing include of linux/io.h?
> 
> I have reverted that commit for today.

This was fixed today (by including linux/ioh), but the latest update to
the pm tree has removed that include again.

-- 
Cheers,
Stephen Rothwell