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

From: Stephen Rothwell
Date: Wed Mar 18 2020 - 07:45:04 EST


Hi all,

On Tue, 17 Mar 2020 18:52:52 +1100 Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> 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

Attachment: pgp0hXMB3OmhP.pgp
Description: OpenPGP digital signature