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

Stephen Rothwell
2020-03-18T11:45:04Z

[-- Attachment #1: Type: text/plain, Size: 803 bytes --]

Hi all,

On Tue, 17 Mar 2020 18:52:52 +1100 Stephen Rothwell <sfr@canb.auug.org.au> 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 #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]