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

From: Colin Ian King
Date: Wed Mar 18 2020 - 07:52:06 EST


On 18/03/2020 11:44, Stephen Rothwell wrote:
> 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.
>
Hopefully it won't be reverted from linux-next?

Colin

Attachment: signature.asc
Description: OpenPGP digital signature