Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 3 participants 6 messages Mar 17, 2020 – Mar 19, 2020 Linux-next tree

lore
Share & tools
lore
#0 lore raw

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.

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw

Hi all,

Quoted 11 lines · On Tue, 17 Mar 2020 18:52:52 +1100 Stephen Rothwell <[email protected]>…

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);
      |  ^~~~~~~~~~~~~
Quoted 7 lines

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.

Signature · 2 lines
Cheers,
Stephen Rothwell
#2 lore raw
Quoted 16 lines · Stephen Rothwell

Hi all,

Quoted 13 lines · On Tue, 17 Mar 2020 18:52:52 +1100 Stephen Rothwell <[email protected]>…

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

Quoted 9 lines
Quoted 5 lines

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

#3 lore raw

Hi Colin,

Quoted 5 lines · On Wed, 18 Mar 2020 11:52:00 +0000 Colin Ian King <[email protected]>…
Quoted 4 lines

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?

Linux-next just contains what its constituent trees contain each day ...

Signature · 2 lines
Cheers,
Stephen Rothwell
#4 lore raw

Hi Stephen,

Quoted 11 lines · On Wed, 18 Mar 2020 23:18:37 +1100 Stephen Rothwell <[email protected]>…

Hi Colin,

Quoted 5 lines · On Wed, 18 Mar 2020 11:52:00 +0000 Colin Ian King <[email protected]>…
Quoted 4 lines

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?

Linux-next just contains what its constituent trees contain each day ...

I have had to revert commit

08c07cefb304 ("ACPI: sysfs: copy ACPI data using io memory copying")

again.

Signature · 2 lines
Cheers,
Stephen Rothwell
#5 lore raw
Quoted 19 lines · CET Stephen Rothwell

--Sig_/Pgc07lYg4LlrlRQi0UWj2DK
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hi Stephen,

Quoted 4 lines · On Wed, 18 Mar 2020 23:18:37 +1100 Stephen Rothwell <[email protected]> =…

Hi Colin,
=20
On Wed, 18 Mar 2020 11:52:00 +0000 Colin Ian King <[email protected]=

Quoted 2 lines · om> wrote:
Quoted 2 lines

=20

Quoted 1 line

This was fixed today (by including linux/ioh), but the latest update =

to

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

the pm tree has removed that include again.
=20

Quoted 7 lines
Quoted 3 lines
Quoted 1 line

Hopefully it won't be reverted from linux-next? =20

=20
Linux-next just contains what its constituent trees contain each day ...

I have had to revert commit

08c07cefb304 ("ACPI: sysfs: copy ACPI data using io memory copying")

Dropped from linux-pm now and sorry for the breakage.

Colin, please resend this one when all of the dependencies are in place in the Linus' tree.

Thanks!