linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build failure after merge of the pm tree
@ 2016-07-22  1:56 Stephen Rothwell
  2016-07-22  2:26 ` Steve Muckle
  0 siblings, 1 reply; 122+ messages in thread
From: Stephen Rothwell @ 2016-07-22  1:56 UTC (permalink / raw)
  To: Rafael J. Wysocki; +Cc: linux-next, linux-kernel, Steve Muckle

Hi Rafael,

After merging the pm tree, today's linux-next build (arm
multi_v7_defconfig) failed like this:

ERROR: "cpufreq_driver_resolve_freq" [kernel/sched/cpufreq_schedutil.ko] undefined!

Caused by commit

  5cbea46984d6 ("cpufreq: schedutil: map raw required frequency to driver frequency")

I used the pm tree from next-20160721 for today.

-- 
Cheers,
Stephen Rothwell

^ permalink raw reply	[flat|nested] 122+ messages in thread
* linux-next: build failure after merge of the pm tree
@ 2024-02-08  3:42 Stephen Rothwell
  0 siblings, 0 replies; 122+ messages in thread
From: Stephen Rothwell @ 2024-02-08  3:42 UTC (permalink / raw)
  To: Rafael J. Wysocki
  Cc: Mario Limonciello, Rafael J. Wysocki, Linux Kernel Mailing List,
	Linux Next Mailing List

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

Hi all,

After merging the pm tree, today's linux-next build (i386 defconfig)
failed like this:

In file included from include/linux/i2c.h:13,
                 from include/uapi/linux/fb.h:6,
                 from include/linux/fb.h:7,
                 from include/linux/backlight.h:13,
                 from drivers/acpi/acpi_video.c:19:
drivers/acpi/acpi_video.c: In function 'acpi_video_device_EDID':
drivers/acpi/acpi_video.c:643:34: error: format '%ld' expects argument of type 'long int', but argument 4 has type 'ssize_t' {aka 'int'} [-Werror=format=]
  643 |                                  "Invalid _DDC data for length %ld\n", length);
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  ~~~~~~
      |                                                                        |
      |                                                                        ssize_t {aka int}
include/linux/acpi.h:1224:56: note: in definition of macro 'acpi_handle_debug'
 1224 |                 acpi_handle_printk(KERN_DEBUG, handle, fmt, ##__VA_ARGS__); \
      |                                                        ^~~
drivers/acpi/acpi_video.c:643:66: note: format string is defined here
  643 |                                  "Invalid _DDC data for length %ld\n", length);
      |                                                                ~~^
      |                                                                  |
      |                                                                  long int
      |                                                                %d

Caused by commit

  9e9c41c069ce ("ACPI: video: Handle fetching EDID that is longer than 256 bytes")

Presumably it should be %zd.

I have reverted that commit for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 122+ messages in thread
* linux-next: build failure after merge of the pm tree
@ 2024-01-24  0:51 Stephen Rothwell
  2024-01-24 15:56 ` Wysocki, Rafael J
  0 siblings, 1 reply; 122+ messages in thread
From: Stephen Rothwell @ 2024-01-24  0:51 UTC (permalink / raw)
  To: Rafael J. Wysocki
  Cc: Rafael J. Wysocki, Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

After merging the pm tree, today's linux-next build (x86_64 allmodconfig)
failed like this:

drivers/base/power/runtime.c: In function 'pm_runtime_new_link':
drivers/base/power/runtime.c:1815:31: error: increment of a boolean expression [-Werror=bool-operation]
 1815 |         dev->power.links_count++;
      |                               ^~
drivers/base/power/runtime.c: In function 'pm_runtime_drop_link_count':
drivers/base/power/runtime.c:1823:31: error: decrement of a boolean expression [-Werror=bool-operation]
 1823 |         dev->power.links_count--;
      |                               ^~

Caused by commit

  5d872146e7f5 ("PM: sleep: Use bool for all 1-bit fields in struct dev_pm_info")

I have used the pm tree from next-20240123 for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 122+ messages in thread
* linux-next: build failure after merge of the pm tree
@ 2023-12-18 23:37 Stephen Rothwell
  0 siblings, 0 replies; 122+ messages in thread
From: Stephen Rothwell @ 2023-12-18 23:37 UTC (permalink / raw)
  To: Rafael J. Wysocki
  Cc: Rafael J. Wysocki, Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

After merging the pm tree, today's linux-next build (x86_64 allmodconfig)
failed like this:

ERROR: modpost: "acpi_device_dep" [drivers/platform/surface/surface_acpi_notify.ko] undefined!

Caused by commit

  90d843b96b49 ("ACPI: utils: Introduce helper for _DEP list lookup")

I have used the pm tree from next-20231218 for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 122+ messages in thread
* linux-next: build failure after merge of the pm tree
@ 2023-11-21  2:46 Stephen Rothwell
  0 siblings, 0 replies; 122+ messages in thread
From: Stephen Rothwell @ 2023-11-21  2:46 UTC (permalink / raw)
  To: Rafael J. Wysocki
  Cc: Rafael J. Wysocki, Sakari Ailus, Linux Kernel Mailing List,
	Linux Next Mailing List

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

Hi all,

After merging the pm tree, today's linux-next build (i386 defconfig)
failed like this:

In file included from drivers/acpi/mipi-disco-img.c:21:
drivers/acpi/mipi-disco-img.c: In function 'init_csi2_port':
drivers/acpi/mipi-disco-img.c:536:42: error: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'unsigned int' [-Werror=format=]
  536 |                 acpi_handle_info(handle, "Too few lane polarity bytes (%lu vs. %d)\n",
      |                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/acpi.h:1199:47: note: in definition of macro 'acpi_handle_info'
 1199 |         acpi_handle_printk(KERN_INFO, handle, fmt, ##__VA_ARGS__)
      |                                               ^~~
drivers/acpi/mipi-disco-img.c:536:74: note: format string is defined here
  536 |                 acpi_handle_info(handle, "Too few lane polarity bytes (%lu vs. %d)\n",
      |                                                                        ~~^
      |                                                                          |
      |                                                                          long unsigned int
      |                                                                        %u
cc1: all warnings being treated as errors

Caused by commit

  a6cb0a611273 ("ACPI: scan: Extract MIPI DisCo for Imaging data into swnodes")

I have reverted that commit (and the following two) for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 122+ messages in thread
* linux-next: build failure after merge of the pm tree
@ 2023-07-14  1:00 Stephen Rothwell
  2023-07-14 18:19 ` Wysocki, Rafael J
  0 siblings, 1 reply; 122+ messages in thread
From: Stephen Rothwell @ 2023-07-14  1:00 UTC (permalink / raw)
  To: Rafael J. Wysocki
  Cc: Daniel Lezcano, Rafael J. Wysocki, Linux Kernel Mailing List,
	Linux Next Mailing List

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

Hi all,

After merging the pm tree, today's linux-next build (x86_64
allmodconfig) failed like this:

In file included from drivers/thermal/tegra/soctherm.c:36:
drivers/thermal/tegra/../thermal_core.h:18:2: error: #warning This header can only be included by the thermal core code [-Werror-cpp]
   18 | #warning This header can only be included by the thermal core code
      |  ^~~~~~~

Introduced by commit

  bc1bb350b534 ("thermal/core: Hardening the self-encapsulation")

I have used the pm tree from next-20230713 for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 122+ messages in thread
* linux-next: build failure after merge of the pm tree
@ 2023-04-03 10:18 Stephen Rothwell
  0 siblings, 0 replies; 122+ messages in thread
From: Stephen Rothwell @ 2023-04-03 10:18 UTC (permalink / raw)
  To: Rafael J. Wysocki
  Cc: Rob Herring, Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

After merging the pm tree, today's linux-next build (powerpc allyesconfig)
failed like this:

In file included from drivers/char/tpm/tpm_atmel.c:18:
drivers/char/tpm/tpm_atmel.h: In function 'atmel_get_base_addr':
drivers/char/tpm/tpm_atmel.h:50:14: error: implicit declaration of function 'of_find_node_by_name'; did you mean 'bus_find_device_by_name'? [-Werror=implicit-function-declaration]
   50 |         dn = of_find_node_by_name(NULL, "tpm");
      |              ^~~~~~~~~~~~~~~~~~~~
      |              bus_find_device_by_name
drivers/char/tpm/tpm_atmel.h:50:12: error: assignment to 'struct device_node *' from 'int' makes pointer from integer without a cast [-Werror=int-conversion]
   50 |         dn = of_find_node_by_name(NULL, "tpm");
      |            ^
drivers/char/tpm/tpm_atmel.h:55:14: error: implicit declaration of function 'of_device_is_compatible'; did you mean 'fwnode_device_is_compatible'? [-Werror=implicit-function-declaration]
   55 |         if (!of_device_is_compatible(dn, "AT97SC3201")) {
      |              ^~~~~~~~~~~~~~~~~~~~~~~
      |              fwnode_device_is_compatible
drivers/char/tpm/tpm_atmel.h:56:17: error: implicit declaration of function 'of_node_put' [-Werror=implicit-function-declaration]
   56 |                 of_node_put(dn);
      |                 ^~~~~~~~~~~
drivers/char/tpm/tpm_atmel.h:60:15: error: implicit declaration of function 'of_get_property' [-Werror=implicit-function-declaration]
   60 |         reg = of_get_property(dn, "reg", &reglen);
      |               ^~~~~~~~~~~~~~~
drivers/char/tpm/tpm_atmel.h:60:13: error: assignment to 'const unsigned int *' from 'int' makes pointer from integer without a cast [-Werror=int-conversion]
   60 |         reg = of_get_property(dn, "reg", &reglen);
      |             ^
drivers/char/tpm/tpm_atmel.h:61:18: error: implicit declaration of function 'of_n_addr_cells' [-Werror=implicit-function-declaration]
   61 |         naddrc = of_n_addr_cells(dn);
      |                  ^~~~~~~~~~~~~~~
drivers/char/tpm/tpm_atmel.h:62:18: error: implicit declaration of function 'of_n_size_cells' [-Werror=implicit-function-declaration]
   62 |         nsizec = of_n_size_cells(dn);
      |                  ^~~~~~~~~~~~~~~
drivers/perf/arm_dmc620_pmu.c:710:36: error: array type has incomplete element type 'struct acpi_device_id'
  710 | static const struct acpi_device_id dmc620_acpi_match[] = {
      |                                    ^~~~~~~~~~~~~~~~~
drivers/perf/arm_dmc620_pmu.c:710:36: error: 'dmc620_acpi_match' defined but not used [-Werror=unused-variable]
drivers/perf/alibaba_uncore_drw_pmu.c:757:36: error: array type has incomplete element type 'struct acpi_device_id'
  757 | static const struct acpi_device_id ali_drw_acpi_match[] = {
      |                                    ^~~~~~~~~~~~~~~~~~
drivers/perf/alibaba_uncore_drw_pmu.c:757:36: error: 'ali_drw_acpi_match' defined but not used [-Werror=unused-variable]

Caused by commit

  054e68aae050 ("ACPI: Replace irqdomain.h include with struct declarations")

I have applied the following fixup patch:

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Mon, 3 Apr 2023 19:58:19 +1000
Subject: [PATCH] more fixups for "ACPI: Replace irqdomain.h include with
 struct declarations"

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 drivers/char/tpm/tpm_atmel.h          | 2 ++
 drivers/perf/alibaba_uncore_drw_pmu.c | 1 +
 drivers/perf/arm_dmc620_pmu.c         | 1 +
 3 files changed, 4 insertions(+)

diff --git a/drivers/char/tpm/tpm_atmel.h b/drivers/char/tpm/tpm_atmel.h
index ba37e77e8af3..0129d76a4fa3 100644
--- a/drivers/char/tpm/tpm_atmel.h
+++ b/drivers/char/tpm/tpm_atmel.h
@@ -26,6 +26,8 @@ struct tpm_atmel_priv {
 
 #ifdef CONFIG_PPC64
 
+#include <linux/of.h>
+
 #include <asm/prom.h>
 
 #define atmel_getb(priv, offset) readb(priv->iobase + offset)
diff --git a/drivers/perf/alibaba_uncore_drw_pmu.c b/drivers/perf/alibaba_uncore_drw_pmu.c
index 5c5be9fc1b15..208b1fe1d247 100644
--- a/drivers/perf/alibaba_uncore_drw_pmu.c
+++ b/drivers/perf/alibaba_uncore_drw_pmu.c
@@ -28,6 +28,7 @@
 #include <linux/printk.h>
 #include <linux/rculist.h>
 #include <linux/refcount.h>
+#include <linux/mod_devicetable.h>
 
 
 #define ALI_DRW_PMU_COMMON_MAX_COUNTERS			16
diff --git a/drivers/perf/arm_dmc620_pmu.c b/drivers/perf/arm_dmc620_pmu.c
index 5de06f9a4dd3..3a006b34b515 100644
--- a/drivers/perf/arm_dmc620_pmu.c
+++ b/drivers/perf/arm_dmc620_pmu.c
@@ -27,6 +27,7 @@
 #include <linux/printk.h>
 #include <linux/rculist.h>
 #include <linux/refcount.h>
+#include <linux/mod_devicetable.h>
 
 #define DMC620_PA_SHIFT					12
 #define DMC620_CNT_INIT					0x80000000
-- 
2.39.2



-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply related	[flat|nested] 122+ messages in thread
* linux-next: build failure after merge of the pm tree
@ 2023-04-03  1:25 Stephen Rothwell
  0 siblings, 0 replies; 122+ messages in thread
From: Stephen Rothwell @ 2023-04-03  1:25 UTC (permalink / raw)
  To: Rafael J. Wysocki
  Cc: Linux Kernel Mailing List, Linux Next Mailing List, Rob Herring

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

Hi all,

After merging the pm tree, today's linux-next build (x86_64 allmodconfig)
failed like this:

drivers/fpga/lattice-sysconfig-spi.c:146:35: error: implicit declaration of function 'of_match_ptr' [-Werror=implicit-function-declaration]
  146 |                 .of_match_table = of_match_ptr(sysconfig_of_ids),
      |                                   ^~~~~~~~~~~~
drivers/fpga/lattice-sysconfig-spi.c:146:35: error: initialization of 'const struct of_device_id *' from 'int' makes pointer from integer without a cast [-Werror=int-conversion]
drivers/fpga/lattice-sysconfig-spi.c:146:35: note: (near initialization for 'lattice_sysconfig_driver.driver.of_match_table')
drivers/fpga/lattice-sysconfig-spi.c:146:35: error: initializer element is not constant
drivers/fpga/lattice-sysconfig-spi.c:146:35: note: (near initialization for 'lattice_sysconfig_driver.driver.of_match_table')
drivers/ata/pata_ixp4xx_cf.c: In function 'ixp4xx_pata_probe':
drivers/ata/pata_ixp4xx_cf.c:254:46: error: invalid use of undefined type 'struct device_node'
  254 |         ixpp->rmap = syscon_node_to_regmap(np->parent);
      |                                              ^~
drivers/ata/pata_ixp4xx_cf.c:258:15: error: implicit declaration of function 'of_property_read_u32_index'; did you mean 'fwnode_property_read_u32_array'? [-Werror=implicit-function-declaration]
  258 |         ret = of_property_read_u32_index(np, "reg", 0, &csindex);
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~
      |               fwnode_property_read_u32_array

Caused by commit (I am pretty sure, but can't see why)

  054e68aae050 ("ACPI: Replace irqdomain.h include with struct declarations")

I have applied the following patch for today (and it could be applied
to the pm tree).

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Mon, 3 Apr 2023 11:21:33 +1000
Subject: [PATCH] lattice-sysconfig-spi, pata_ixp4xx_cf.c: fixup for "ACPI:
 Replace irqdomain.h include with struct declarations"

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 drivers/ata/pata_ixp4xx_cf.c         | 1 +
 drivers/fpga/lattice-sysconfig-spi.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/drivers/ata/pata_ixp4xx_cf.c b/drivers/ata/pata_ixp4xx_cf.c
index e225913a619d..64f77fa457cd 100644
--- a/drivers/ata/pata_ixp4xx_cf.c
+++ b/drivers/ata/pata_ixp4xx_cf.c
@@ -18,6 +18,7 @@
 #include <linux/libata.h>
 #include <linux/irq.h>
 #include <linux/platform_device.h>
+#include <linux/of.h>
 #include <linux/regmap.h>
 #include <scsi/scsi_host.h>
 
diff --git a/drivers/fpga/lattice-sysconfig-spi.c b/drivers/fpga/lattice-sysconfig-spi.c
index 2702b26b7f55..44691cfcf50a 100644
--- a/drivers/fpga/lattice-sysconfig-spi.c
+++ b/drivers/fpga/lattice-sysconfig-spi.c
@@ -3,6 +3,7 @@
  * Lattice FPGA programming over slave SPI sysCONFIG interface.
  */
 
+#include <linux/of.h>
 #include <linux/spi/spi.h>
 
 #include "lattice-sysconfig.h"
-- 
2.39.2

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply related	[flat|nested] 122+ messages in thread
* linux-next: build failure after merge of the pm tree
@ 2023-04-03  1:16 Stephen Rothwell
  0 siblings, 0 replies; 122+ messages in thread
From: Stephen Rothwell @ 2023-04-03  1:16 UTC (permalink / raw)
  To: Rafael J. Wysocki
  Cc: Linux Kernel Mailing List, Linux Next Mailing List, Rob Herring

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

Hi all,

After merging the pm tree, today's linux-next build (arm
multi_v7_defconfig) failed like this:

drivers/virtio/virtio_mmio.c: In function 'vm_find_vqs':
drivers/virtio/virtio_mmio.c:492:13: error: implicit declaration of function 'of_property_read_bool'; did you mean 'fwnode_property_read_bool'? [-Werror=implicit-function-declaration]
  492 |         if (of_property_read_bool(vm_dev->pdev->dev.of_node, "wakeup-source"))
      |             ^~~~~~~~~~~~~~~~~~~~~
      |             fwnode_property_read_bool

Caused by commit (I am pretty sure, but can't see why)

  054e68aae050 ("ACPI: Replace irqdomain.h include with struct declarations")

I have applied the following patch for today (and it could be applied
to the pm tree).

From f920b59d2ca8dcbe8d80f103e109032800c699be Mon Sep 17 00:00:00 2001
From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Mon, 3 Apr 2023 11:11:09 +1000
Subject: [PATCH] virtio_mmio: fix up for "ACPI: Replace irqdomain.h include
 with struct declarations"

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 drivers/virtio/virtio_mmio.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/virtio/virtio_mmio.c b/drivers/virtio/virtio_mmio.c
index 3ff746e3f24a..06f1ecff2a3a 100644
--- a/drivers/virtio/virtio_mmio.c
+++ b/drivers/virtio/virtio_mmio.c
@@ -55,6 +55,7 @@
 #define pr_fmt(fmt) "virtio-mmio: " fmt
 
 #include <linux/acpi.h>
+#include <linux/of.h>
 #include <linux/dma-mapping.h>
 #include <linux/highmem.h>
 #include <linux/interrupt.h>
-- 
2.39.2

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply related	[flat|nested] 122+ messages in thread
* linux-next: build failure after merge of the pm tree
@ 2023-04-03  1:06 Stephen Rothwell
  0 siblings, 0 replies; 122+ messages in thread
From: Stephen Rothwell @ 2023-04-03  1:06 UTC (permalink / raw)
  To: Rafael J. Wysocki
  Cc: Rob Herring, Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

After merging the pm tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

drivers/ata/pata_macio.c: In function 'pata_macio_attach':
drivers/ata/pata_macio.c:1172:23: error: implicit declaration of function 'irq_create_mapping' [-Werror=implicit-function-declaration]
 1172 |                 irq = irq_create_mapping(NULL, 13);
      |                       ^~~~~~~~~~~~~~~~~~

Caused by commit (I am pretty sure, but can't see why)

  054e68aae050 ("ACPI: Replace irqdomain.h include with struct declarations")

I have applied the following patch for today (and it could be applied
to the pm tree).

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Mon, 3 Apr 2023 10:59:16 +1000
Subject: [PATCH] pata_macio: fixup for "ACPI: Replace irqdomain.h include with struct declarations"

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 drivers/ata/pata_macio.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/ata/pata_macio.c b/drivers/ata/pata_macio.c
index 9ccaac9e2bc3..6aa4558d88e6 100644
--- a/drivers/ata/pata_macio.c
+++ b/drivers/ata/pata_macio.c
@@ -24,6 +24,7 @@
 #include <linux/of.h>
 #include <linux/gfp.h>
 #include <linux/pci.h>
+#include <linux/irqdomain.h>
 
 #include <scsi/scsi.h>
 #include <scsi/scsi_host.h>
-- 
2.39.2

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply related	[flat|nested] 122+ messages in thread
* linux-next: build failure after merge of the pm tree
@ 2022-06-29  0:23 Stephen Rothwell
  2022-06-29 13:01 ` Rafael J. Wysocki
  0 siblings, 1 reply; 122+ messages in thread
From: Stephen Rothwell @ 2022-06-29  0:23 UTC (permalink / raw)
  To: Rafael J. Wysocki; +Cc: Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

After merging the pm tree, today's linux-next build (x86_64 allmodconfig)
failed like this:

In file included from include/linux/list.h:5,
                 from include/linux/kobject.h:19,
                 from include/linux/of.h:17,
                 from include/linux/irqdomain.h:35,
                 from include/linux/acpi.h:13,
                 from drivers/bus/hisi_lpc.c:9:
drivers/bus/hisi_lpc.c: In function 'hisi_lpc_acpi_remove':
drivers/bus/hisi_lpc.c:488:41: error: 'struct acpi_device' has no member named 'children'
  488 |         list_for_each_entry(child, &adev->children, node)
      |                                         ^~
include/linux/container_of.h:18:33: note: in definition of macro 'container_of'
   18 |         void *__mptr = (void *)(ptr);                                   \
      |                                 ^~~
include/linux/list.h:531:9: note: in expansion of macro 'list_entry'
  531 |         list_entry((ptr)->next, type, member)
      |         ^~~~~~~~~~
include/linux/list.h:674:20: note: in expansion of macro 'list_first_entry'
  674 |         for (pos = list_first_entry(head, typeof(*pos), member);        \
      |                    ^~~~~~~~~~~~~~~~
drivers/bus/hisi_lpc.c:488:9: note: in expansion of macro 'list_for_each_entry'
  488 |         list_for_each_entry(child, &adev->children, node)
      |         ^~~~~~~~~~~~~~~~~~~
In file included from include/linux/bits.h:22,
                 from include/linux/ioport.h:13,
                 from include/linux/acpi.h:12,
                 from drivers/bus/hisi_lpc.c:9:
drivers/bus/hisi_lpc.c:488:41: error: 'struct acpi_device' has no member named 'children'
  488 |         list_for_each_entry(child, &adev->children, node)
      |                                         ^~
include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert'
   78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
      |                                                        ^~~~
include/linux/container_of.h:19:9: note: in expansion of macro 'static_assert'
   19 |         static_assert(__same_type(*(ptr), ((type *)0)->member) ||       \
      |         ^~~~~~~~~~~~~
include/linux/container_of.h:19:23: note: in expansion of macro '__same_type'
   19 |         static_assert(__same_type(*(ptr), ((type *)0)->member) ||       \
      |                       ^~~~~~~~~~~
include/linux/list.h:520:9: note: in expansion of macro 'container_of'
  520 |         container_of(ptr, type, member)
      |         ^~~~~~~~~~~~
include/linux/list.h:531:9: note: in expansion of macro 'list_entry'
  531 |         list_entry((ptr)->next, type, member)
      |         ^~~~~~~~~~
include/linux/list.h:674:20: note: in expansion of macro 'list_first_entry'
  674 |         for (pos = list_first_entry(head, typeof(*pos), member);        \
      |                    ^~~~~~~~~~~~~~~~
drivers/bus/hisi_lpc.c:488:9: note: in expansion of macro 'list_for_each_entry'
  488 |         list_for_each_entry(child, &adev->children, node)
      |         ^~~~~~~~~~~~~~~~~~~
drivers/bus/hisi_lpc.c:488:53: error: 'struct acpi_device' has no member named 'node'; did you mean 'fwnode'?
  488 |         list_for_each_entry(child, &adev->children, node)
      |                                                     ^~~~
include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert'
   78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
      |                                                        ^~~~
include/linux/container_of.h:19:9: note: in expansion of macro 'static_assert'
   19 |         static_assert(__same_type(*(ptr), ((type *)0)->member) ||       \
      |         ^~~~~~~~~~~~~
include/linux/container_of.h:19:23: note: in expansion of macro '__same_type'
   19 |         static_assert(__same_type(*(ptr), ((type *)0)->member) ||       \
      |                       ^~~~~~~~~~~
include/linux/list.h:520:9: note: in expansion of macro 'container_of'
  520 |         container_of(ptr, type, member)
      |         ^~~~~~~~~~~~
include/linux/list.h:531:9: note: in expansion of macro 'list_entry'
  531 |         list_entry((ptr)->next, type, member)
      |         ^~~~~~~~~~
include/linux/list.h:674:20: note: in expansion of macro 'list_first_entry'
  674 |         for (pos = list_first_entry(head, typeof(*pos), member);        \
      |                    ^~~~~~~~~~~~~~~~
drivers/bus/hisi_lpc.c:488:9: note: in expansion of macro 'list_for_each_entry'
  488 |         list_for_each_entry(child, &adev->children, node)
      |         ^~~~~~~~~~~~~~~~~~~
drivers/bus/hisi_lpc.c:488:41: error: 'struct acpi_device' has no member named 'children'
  488 |         list_for_each_entry(child, &adev->children, node)
      |                                         ^~
include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert'
   78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
      |                                                        ^~~~
include/linux/container_of.h:19:9: note: in expansion of macro 'static_assert'
   19 |         static_assert(__same_type(*(ptr), ((type *)0)->member) ||       \
      |         ^~~~~~~~~~~~~
include/linux/container_of.h:20:23: note: in expansion of macro '__same_type'
   20 |                       __same_type(*(ptr), void),                        \
      |                       ^~~~~~~~~~~
include/linux/list.h:520:9: note: in expansion of macro 'container_of'
  520 |         container_of(ptr, type, member)
      |         ^~~~~~~~~~~~
include/linux/list.h:531:9: note: in expansion of macro 'list_entry'
  531 |         list_entry((ptr)->next, type, member)
      |         ^~~~~~~~~~
include/linux/list.h:674:20: note: in expansion of macro 'list_first_entry'
  674 |         for (pos = list_first_entry(head, typeof(*pos), member);        \
      |                    ^~~~~~~~~~~~~~~~
drivers/bus/hisi_lpc.c:488:9: note: in expansion of macro 'list_for_each_entry'
  488 |         list_for_each_entry(child, &adev->children, node)
      |         ^~~~~~~~~~~~~~~~~~~
include/linux/compiler_types.h:293:27: error: expression in static assertion is not an integer
  293 | #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b))
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert'
   78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
      |                                                        ^~~~
include/linux/container_of.h:19:9: note: in expansion of macro 'static_assert'
   19 |         static_assert(__same_type(*(ptr), ((type *)0)->member) ||       \
      |         ^~~~~~~~~~~~~
include/linux/container_of.h:19:23: note: in expansion of macro '__same_type'
   19 |         static_assert(__same_type(*(ptr), ((type *)0)->member) ||       \
      |                       ^~~~~~~~~~~
include/linux/list.h:520:9: note: in expansion of macro 'container_of'
  520 |         container_of(ptr, type, member)
      |         ^~~~~~~~~~~~
include/linux/list.h:531:9: note: in expansion of macro 'list_entry'
  531 |         list_entry((ptr)->next, type, member)
      |         ^~~~~~~~~~
include/linux/list.h:674:20: note: in expansion of macro 'list_first_entry'
  674 |         for (pos = list_first_entry(head, typeof(*pos), member);        \
      |                    ^~~~~~~~~~~~~~~~
drivers/bus/hisi_lpc.c:488:9: note: in expansion of macro 'list_for_each_entry'
  488 |         list_for_each_entry(child, &adev->children, node)
      |         ^~~~~~~~~~~~~~~~~~~
In file included from include/uapi/linux/posix_types.h:5,
                 from include/uapi/linux/types.h:14,
                 from include/linux/types.h:6,
                 from include/linux/kasan-checks.h:5,
                 from include/asm-generic/rwonce.h:26,
                 from ./arch/x86/include/generated/asm/rwonce.h:1,
                 from include/linux/compiler.h:248,
                 from include/linux/build_bug.h:5,
                 from include/linux/bits.h:22,
                 from include/linux/ioport.h:13,
                 from include/linux/acpi.h:12,
                 from drivers/bus/hisi_lpc.c:9:
drivers/bus/hisi_lpc.c:488:53: error: 'struct acpi_device' has no member named 'node'; did you mean 'fwnode'?
  488 |         list_for_each_entry(child, &adev->children, node)
      |                                                     ^~~~
include/linux/stddef.h:16:58: note: in definition of macro 'offsetof'
   16 | #define offsetof(TYPE, MEMBER)  __builtin_offsetof(TYPE, MEMBER)
      |                                                          ^~~~~~
include/linux/list.h:520:9: note: in expansion of macro 'container_of'
  520 |         container_of(ptr, type, member)
      |         ^~~~~~~~~~~~
include/linux/list.h:531:9: note: in expansion of macro 'list_entry'
  531 |         list_entry((ptr)->next, type, member)
      |         ^~~~~~~~~~
include/linux/list.h:674:20: note: in expansion of macro 'list_first_entry'
  674 |         for (pos = list_first_entry(head, typeof(*pos), member);        \
      |                    ^~~~~~~~~~~~~~~~
drivers/bus/hisi_lpc.c:488:9: note: in expansion of macro 'list_for_each_entry'
  488 |         list_for_each_entry(child, &adev->children, node)
      |         ^~~~~~~~~~~~~~~~~~~
In file included from include/linux/kobject.h:19,
                 from include/linux/of.h:17,
                 from include/linux/irqdomain.h:35,
                 from include/linux/acpi.h:13,
                 from drivers/bus/hisi_lpc.c:9:
drivers/bus/hisi_lpc.c:488:53: error: 'struct acpi_device' has no member named 'node'; did you mean 'fwnode'?
  488 |         list_for_each_entry(child, &adev->children, node)
      |                                                     ^~~~
include/linux/list.h:665:16: note: in definition of macro 'list_entry_is_head'
  665 |         (&pos->member == (head))
      |                ^~~~~~
drivers/bus/hisi_lpc.c:488:9: note: in expansion of macro 'list_for_each_entry'
  488 |         list_for_each_entry(child, &adev->children, node)
      |         ^~~~~~~~~~~~~~~~~~~
drivers/bus/hisi_lpc.c:488:41: error: 'struct acpi_device' has no member named 'children'
  488 |         list_for_each_entry(child, &adev->children, node)
      |                                         ^~
include/linux/list.h:665:27: note: in definition of macro 'list_entry_is_head'
  665 |         (&pos->member == (head))
      |                           ^~~~
drivers/bus/hisi_lpc.c:488:9: note: in expansion of macro 'list_for_each_entry'
  488 |         list_for_each_entry(child, &adev->children, node)
      |         ^~~~~~~~~~~~~~~~~~~
In file included from include/linux/list.h:5,
                 from include/linux/kobject.h:19,
                 from include/linux/of.h:17,
                 from include/linux/irqdomain.h:35,
                 from include/linux/acpi.h:13,
                 from drivers/bus/hisi_lpc.c:9:
drivers/bus/hisi_lpc.c:488:53: error: 'struct acpi_device' has no member named 'node'; did you mean 'fwnode'?
  488 |         list_for_each_entry(child, &adev->children, node)
      |                                                     ^~~~
include/linux/container_of.h:18:33: note: in definition of macro 'container_of'
   18 |         void *__mptr = (void *)(ptr);                                   \
      |                                 ^~~
include/linux/list.h:564:9: note: in expansion of macro 'list_entry'
  564 |         list_entry((pos)->member.next, typeof(*(pos)), member)
      |         ^~~~~~~~~~
include/linux/list.h:676:20: note: in expansion of macro 'list_next_entry'
  676 |              pos = list_next_entry(pos, member))
      |                    ^~~~~~~~~~~~~~~
drivers/bus/hisi_lpc.c:488:9: note: in expansion of macro 'list_for_each_entry'
  488 |         list_for_each_entry(child, &adev->children, node)
      |         ^~~~~~~~~~~~~~~~~~~
In file included from include/linux/bits.h:22,
                 from include/linux/ioport.h:13,
                 from include/linux/acpi.h:12,
                 from drivers/bus/hisi_lpc.c:9:
drivers/bus/hisi_lpc.c:488:53: error: 'struct acpi_device' has no member named 'node'; did you mean 'fwnode'?
  488 |         list_for_each_entry(child, &adev->children, node)
      |                                                     ^~~~
include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert'
   78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
      |                                                        ^~~~
include/linux/container_of.h:19:9: note: in expansion of macro 'static_assert'
   19 |         static_assert(__same_type(*(ptr), ((type *)0)->member) ||       \
      |         ^~~~~~~~~~~~~
include/linux/container_of.h:19:23: note: in expansion of macro '__same_type'
   19 |         static_assert(__same_type(*(ptr), ((type *)0)->member) ||       \
      |                       ^~~~~~~~~~~
include/linux/list.h:520:9: note: in expansion of macro 'container_of'
  520 |         container_of(ptr, type, member)
      |         ^~~~~~~~~~~~
include/linux/list.h:564:9: note: in expansion of macro 'list_entry'
  564 |         list_entry((pos)->member.next, typeof(*(pos)), member)
      |         ^~~~~~~~~~
include/linux/list.h:676:20: note: in expansion of macro 'list_next_entry'
  676 |              pos = list_next_entry(pos, member))
      |                    ^~~~~~~~~~~~~~~
drivers/bus/hisi_lpc.c:488:9: note: in expansion of macro 'list_for_each_entry'
  488 |         list_for_each_entry(child, &adev->children, node)
      |         ^~~~~~~~~~~~~~~~~~~
drivers/bus/hisi_lpc.c:488:53: error: 'struct acpi_device' has no member named 'node'; did you mean 'fwnode'?
  488 |         list_for_each_entry(child, &adev->children, node)
      |                                                     ^~~~
include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert'
   78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
      |                                                        ^~~~
include/linux/container_of.h:19:9: note: in expansion of macro 'static_assert'
   19 |         static_assert(__same_type(*(ptr), ((type *)0)->member) ||       \
      |         ^~~~~~~~~~~~~
include/linux/container_of.h:19:23: note: in expansion of macro '__same_type'
   19 |         static_assert(__same_type(*(ptr), ((type *)0)->member) ||       \
      |                       ^~~~~~~~~~~
include/linux/list.h:520:9: note: in expansion of macro 'container_of'
  520 |         container_of(ptr, type, member)
      |         ^~~~~~~~~~~~
include/linux/list.h:564:9: note: in expansion of macro 'list_entry'
  564 |         list_entry((pos)->member.next, typeof(*(pos)), member)
      |         ^~~~~~~~~~
include/linux/list.h:676:20: note: in expansion of macro 'list_next_entry'
  676 |              pos = list_next_entry(pos, member))
      |                    ^~~~~~~~~~~~~~~
drivers/bus/hisi_lpc.c:488:9: note: in expansion of macro 'list_for_each_entry'
  488 |         list_for_each_entry(child, &adev->children, node)
      |         ^~~~~~~~~~~~~~~~~~~
drivers/bus/hisi_lpc.c:488:53: error: 'struct acpi_device' has no member named 'node'; did you mean 'fwnode'?
  488 |         list_for_each_entry(child, &adev->children, node)
      |                                                     ^~~~
include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert'
   78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
      |                                                        ^~~~
include/linux/container_of.h:19:9: note: in expansion of macro 'static_assert'
   19 |         static_assert(__same_type(*(ptr), ((type *)0)->member) ||       \
      |         ^~~~~~~~~~~~~
include/linux/container_of.h:20:23: note: in expansion of macro '__same_type'
   20 |                       __same_type(*(ptr), void),                        \
      |                       ^~~~~~~~~~~
include/linux/list.h:520:9: note: in expansion of macro 'container_of'
  520 |         container_of(ptr, type, member)
      |         ^~~~~~~~~~~~
include/linux/list.h:564:9: note: in expansion of macro 'list_entry'
  564 |         list_entry((pos)->member.next, typeof(*(pos)), member)
      |         ^~~~~~~~~~
include/linux/list.h:676:20: note: in expansion of macro 'list_next_entry'
  676 |              pos = list_next_entry(pos, member))
      |                    ^~~~~~~~~~~~~~~
drivers/bus/hisi_lpc.c:488:9: note: in expansion of macro 'list_for_each_entry'
  488 |         list_for_each_entry(child, &adev->children, node)
      |         ^~~~~~~~~~~~~~~~~~~
include/linux/compiler_types.h:293:27: error: expression in static assertion is not an integer
  293 | #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b))
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert'
   78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
      |                                                        ^~~~
include/linux/container_of.h:19:9: note: in expansion of macro 'static_assert'
   19 |         static_assert(__same_type(*(ptr), ((type *)0)->member) ||       \
      |         ^~~~~~~~~~~~~
include/linux/container_of.h:19:23: note: in expansion of macro '__same_type'
   19 |         static_assert(__same_type(*(ptr), ((type *)0)->member) ||       \
      |                       ^~~~~~~~~~~
include/linux/list.h:520:9: note: in expansion of macro 'container_of'
  520 |         container_of(ptr, type, member)
      |         ^~~~~~~~~~~~
include/linux/list.h:564:9: note: in expansion of macro 'list_entry'
  564 |         list_entry((pos)->member.next, typeof(*(pos)), member)
      |         ^~~~~~~~~~
include/linux/list.h:676:20: note: in expansion of macro 'list_next_entry'
  676 |              pos = list_next_entry(pos, member))
      |                    ^~~~~~~~~~~~~~~
drivers/bus/hisi_lpc.c:488:9: note: in expansion of macro 'list_for_each_entry'
  488 |         list_for_each_entry(child, &adev->children, node)
      |         ^~~~~~~~~~~~~~~~~~~
In file included from include/uapi/linux/posix_types.h:5,
                 from include/uapi/linux/types.h:14,
                 from include/linux/types.h:6,
                 from include/linux/kasan-checks.h:5,
                 from include/asm-generic/rwonce.h:26,
                 from ./arch/x86/include/generated/asm/rwonce.h:1,
                 from include/linux/compiler.h:248,
                 from include/linux/build_bug.h:5,
                 from include/linux/bits.h:22,
                 from include/linux/ioport.h:13,
                 from include/linux/acpi.h:12,
                 from drivers/bus/hisi_lpc.c:9:
drivers/bus/hisi_lpc.c:488:53: error: 'struct acpi_device' has no member named 'node'; did you mean 'fwnode'?
  488 |         list_for_each_entry(child, &adev->children, node)
      |                                                     ^~~~
include/linux/stddef.h:16:58: note: in definition of macro 'offsetof'
   16 | #define offsetof(TYPE, MEMBER)  __builtin_offsetof(TYPE, MEMBER)
      |                                                          ^~~~~~
include/linux/list.h:520:9: note: in expansion of macro 'container_of'
  520 |         container_of(ptr, type, member)
      |         ^~~~~~~~~~~~
include/linux/list.h:564:9: note: in expansion of macro 'list_entry'
  564 |         list_entry((pos)->member.next, typeof(*(pos)), member)
      |         ^~~~~~~~~~
include/linux/list.h:676:20: note: in expansion of macro 'list_next_entry'
  676 |              pos = list_next_entry(pos, member))
      |                    ^~~~~~~~~~~~~~~
drivers/bus/hisi_lpc.c:488:9: note: in expansion of macro 'list_for_each_entry'
  488 |         list_for_each_entry(child, &adev->children, node)
      |         ^~~~~~~~~~~~~~~~~~~
In file included from include/linux/list.h:5,
                 from include/linux/kobject.h:19,
                 from include/linux/of.h:17,
                 from include/linux/irqdomain.h:35,
                 from include/linux/acpi.h:13,
                 from drivers/bus/hisi_lpc.c:9:
drivers/bus/hisi_lpc.c: In function 'hisi_lpc_acpi_probe':
drivers/bus/hisi_lpc.c:509:41: error: 'struct acpi_device' has no member named 'children'
  509 |         list_for_each_entry(child, &adev->children, node) {
      |                                         ^~
include/linux/container_of.h:18:33: note: in definition of macro 'container_of'
   18 |         void *__mptr = (void *)(ptr);                                   \
      |                                 ^~~
include/linux/list.h:531:9: note: in expansion of macro 'list_entry'
  531 |         list_entry((ptr)->next, type, member)
      |         ^~~~~~~~~~
include/linux/list.h:674:20: note: in expansion of macro 'list_first_entry'
  674 |         for (pos = list_first_entry(head, typeof(*pos), member);        \
      |                    ^~~~~~~~~~~~~~~~
drivers/bus/hisi_lpc.c:509:9: note: in expansion of macro 'list_for_each_entry'
  509 |         list_for_each_entry(child, &adev->children, node) {
      |         ^~~~~~~~~~~~~~~~~~~
In file included from include/linux/bits.h:22,
                 from include/linux/ioport.h:13,
                 from include/linux/acpi.h:12,
                 from drivers/bus/hisi_lpc.c:9:
drivers/bus/hisi_lpc.c:509:41: error: 'struct acpi_device' has no member named 'children'
  509 |         list_for_each_entry(child, &adev->children, node) {
      |                                         ^~
include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert'
   78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
      |                                                        ^~~~
include/linux/container_of.h:19:9: note: in expansion of macro 'static_assert'
   19 |         static_assert(__same_type(*(ptr), ((type *)0)->member) ||       \
      |         ^~~~~~~~~~~~~
include/linux/container_of.h:19:23: note: in expansion of macro '__same_type'
   19 |         static_assert(__same_type(*(ptr), ((type *)0)->member) ||       \
      |                       ^~~~~~~~~~~
include/linux/list.h:520:9: note: in expansion of macro 'container_of'
  520 |         container_of(ptr, type, member)
      |         ^~~~~~~~~~~~
include/linux/list.h:531:9: note: in expansion of macro 'list_entry'
  531 |         list_entry((ptr)->next, type, member)
      |         ^~~~~~~~~~
include/linux/list.h:674:20: note: in expansion of macro 'list_first_entry'
  674 |         for (pos = list_first_entry(head, typeof(*pos), member);        \
      |                    ^~~~~~~~~~~~~~~~
drivers/bus/hisi_lpc.c:509:9: note: in expansion of macro 'list_for_each_entry'
  509 |         list_for_each_entry(child, &adev->children, node) {
      |         ^~~~~~~~~~~~~~~~~~~
drivers/bus/hisi_lpc.c:509:53: error: 'struct acpi_device' has no member named 'node'; did you mean 'fwnode'?
  509 |         list_for_each_entry(child, &adev->children, node) {
      |                                                     ^~~~
include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert'
   78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
      |                                                        ^~~~
include/linux/container_of.h:19:9: note: in expansion of macro 'static_assert'
   19 |         static_assert(__same_type(*(ptr), ((type *)0)->member) ||       \
      |         ^~~~~~~~~~~~~
include/linux/container_of.h:19:23: note: in expansion of macro '__same_type'
   19 |         static_assert(__same_type(*(ptr), ((type *)0)->member) ||       \
      |                       ^~~~~~~~~~~
include/linux/list.h:520:9: note: in expansion of macro 'container_of'
  520 |         container_of(ptr, type, member)
      |         ^~~~~~~~~~~~
include/linux/list.h:531:9: note: in expansion of macro 'list_entry'
  531 |         list_entry((ptr)->next, type, member)
      |         ^~~~~~~~~~
include/linux/list.h:674:20: note: in expansion of macro 'list_first_entry'
  674 |         for (pos = list_first_entry(head, typeof(*pos), member);        \
      |                    ^~~~~~~~~~~~~~~~
drivers/bus/hisi_lpc.c:509:9: note: in expansion of macro 'list_for_each_entry'
  509 |         list_for_each_entry(child, &adev->children, node) {
      |         ^~~~~~~~~~~~~~~~~~~
drivers/bus/hisi_lpc.c:509:41: error: 'struct acpi_device' has no member named 'children'
  509 |         list_for_each_entry(child, &adev->children, node) {
      |                                         ^~
include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert'
   78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
      |                                                        ^~~~
include/linux/container_of.h:19:9: note: in expansion of macro 'static_assert'
   19 |         static_assert(__same_type(*(ptr), ((type *)0)->member) ||       \
      |         ^~~~~~~~~~~~~
include/linux/container_of.h:20:23: note: in expansion of macro '__same_type'
   20 |                       __same_type(*(ptr), void),                        \
      |                       ^~~~~~~~~~~
include/linux/list.h:520:9: note: in expansion of macro 'container_of'
  520 |         container_of(ptr, type, member)
      |         ^~~~~~~~~~~~
include/linux/list.h:531:9: note: in expansion of macro 'list_entry'
  531 |         list_entry((ptr)->next, type, member)
      |         ^~~~~~~~~~
include/linux/list.h:674:20: note: in expansion of macro 'list_first_entry'
  674 |         for (pos = list_first_entry(head, typeof(*pos), member);        \
      |                    ^~~~~~~~~~~~~~~~
drivers/bus/hisi_lpc.c:509:9: note: in expansion of macro 'list_for_each_entry'
  509 |         list_for_each_entry(child, &adev->children, node) {
      |         ^~~~~~~~~~~~~~~~~~~
include/linux/compiler_types.h:293:27: error: expression in static assertion is not an integer
  293 | #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b))
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert'
   78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
      |                                                        ^~~~
include/linux/container_of.h:19:9: note: in expansion of macro 'static_assert'
   19 |         static_assert(__same_type(*(ptr), ((type *)0)->member) ||       \
      |         ^~~~~~~~~~~~~
include/linux/container_of.h:19:23: note: in expansion of macro '__same_type'
   19 |         static_assert(__same_type(*(ptr), ((type *)0)->member) ||       \
      |                       ^~~~~~~~~~~
include/linux/list.h:520:9: note: in expansion of macro 'container_of'
  520 |         container_of(ptr, type, member)
      |         ^~~~~~~~~~~~
include/linux/list.h:531:9: note: in expansion of macro 'list_entry'
  531 |         list_entry((ptr)->next, type, member)
      |         ^~~~~~~~~~
include/linux/list.h:674:20: note: in expansion of macro 'list_first_entry'
  674 |         for (pos = list_first_entry(head, typeof(*pos), member);        \
      |                    ^~~~~~~~~~~~~~~~
drivers/bus/hisi_lpc.c:509:9: note: in expansion of macro 'list_for_each_entry'
  509 |         list_for_each_entry(child, &adev->children, node) {
      |         ^~~~~~~~~~~~~~~~~~~
In file included from include/uapi/linux/posix_types.h:5,
                 from include/uapi/linux/types.h:14,
                 from include/linux/types.h:6,
                 from include/linux/kasan-checks.h:5,
                 from include/asm-generic/rwonce.h:26,
                 from ./arch/x86/include/generated/asm/rwonce.h:1,
                 from include/linux/compiler.h:248,
                 from include/linux/build_bug.h:5,
                 from include/linux/bits.h:22,
                 from include/linux/ioport.h:13,
                 from include/linux/acpi.h:12,
                 from drivers/bus/hisi_lpc.c:9:
drivers/bus/hisi_lpc.c:509:53: error: 'struct acpi_device' has no member named 'node'; did you mean 'fwnode'?
  509 |         list_for_each_entry(child, &adev->children, node) {
      |                                                     ^~~~
include/linux/stddef.h:16:58: note: in definition of macro 'offsetof'
   16 | #define offsetof(TYPE, MEMBER)  __builtin_offsetof(TYPE, MEMBER)
      |                                                          ^~~~~~
include/linux/list.h:520:9: note: in expansion of macro 'container_of'
  520 |         container_of(ptr, type, member)
      |         ^~~~~~~~~~~~
include/linux/list.h:531:9: note: in expansion of macro 'list_entry'
  531 |         list_entry((ptr)->next, type, member)
      |         ^~~~~~~~~~
include/linux/list.h:674:20: note: in expansion of macro 'list_first_entry'
  674 |         for (pos = list_first_entry(head, typeof(*pos), member);        \
      |                    ^~~~~~~~~~~~~~~~
drivers/bus/hisi_lpc.c:509:9: note: in expansion of macro 'list_for_each_entry'
  509 |         list_for_each_entry(child, &adev->children, node) {
      |         ^~~~~~~~~~~~~~~~~~~
In file included from include/linux/kobject.h:19,
                 from include/linux/of.h:17,
                 from include/linux/irqdomain.h:35,
                 from include/linux/acpi.h:13,
                 from drivers/bus/hisi_lpc.c:9:
drivers/bus/hisi_lpc.c:509:53: error: 'struct acpi_device' has no member named 'node'; did you mean 'fwnode'?
  509 |         list_for_each_entry(child, &adev->children, node) {
      |                                                     ^~~~
include/linux/list.h:665:16: note: in definition of macro 'list_entry_is_head'
  665 |         (&pos->member == (head))
      |                ^~~~~~
drivers/bus/hisi_lpc.c:509:9: note: in expansion of macro 'list_for_each_entry'
  509 |         list_for_each_entry(child, &adev->children, node) {
      |         ^~~~~~~~~~~~~~~~~~~
drivers/bus/hisi_lpc.c:509:41: error: 'struct acpi_device' has no member named 'children'
  509 |         list_for_each_entry(child, &adev->children, node) {
      |                                         ^~
include/linux/list.h:665:27: note: in definition of macro 'list_entry_is_head'
  665 |         (&pos->member == (head))
      |                           ^~~~
drivers/bus/hisi_lpc.c:509:9: note: in expansion of macro 'list_for_each_entry'
  509 |         list_for_each_entry(child, &adev->children, node) {
      |         ^~~~~~~~~~~~~~~~~~~
In file included from include/linux/list.h:5,
                 from include/linux/kobject.h:19,
                 from include/linux/of.h:17,
                 from include/linux/irqdomain.h:35,
                 from include/linux/acpi.h:13,
                 from drivers/bus/hisi_lpc.c:9:
drivers/bus/hisi_lpc.c:509:53: error: 'struct acpi_device' has no member named 'node'; did you mean 'fwnode'?
  509 |         list_for_each_entry(child, &adev->children, node) {
      |                                                     ^~~~
include/linux/container_of.h:18:33: note: in definition of macro 'container_of'
   18 |         void *__mptr = (void *)(ptr);                                   \
      |                                 ^~~
include/linux/list.h:564:9: note: in expansion of macro 'list_entry'
  564 |         list_entry((pos)->member.next, typeof(*(pos)), member)
      |         ^~~~~~~~~~
include/linux/list.h:676:20: note: in expansion of macro 'list_next_entry'
  676 |              pos = list_next_entry(pos, member))
      |                    ^~~~~~~~~~~~~~~
drivers/bus/hisi_lpc.c:509:9: note: in expansion of macro 'list_for_each_entry'
  509 |         list_for_each_entry(child, &adev->children, node) {
      |         ^~~~~~~~~~~~~~~~~~~
In file included from include/linux/bits.h:22,
                 from include/linux/ioport.h:13,
                 from include/linux/acpi.h:12,
                 from drivers/bus/hisi_lpc.c:9:
drivers/bus/hisi_lpc.c:509:53: error: 'struct acpi_device' has no member named 'node'; did you mean 'fwnode'?
  509 |         list_for_each_entry(child, &adev->children, node) {
      |                                                     ^~~~
include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert'
   78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
      |                                                        ^~~~
include/linux/container_of.h:19:9: note: in expansion of macro 'static_assert'
   19 |         static_assert(__same_type(*(ptr), ((type *)0)->member) ||       \
      |         ^~~~~~~~~~~~~
include/linux/container_of.h:19:23: note: in expansion of macro '__same_type'
   19 |         static_assert(__same_type(*(ptr), ((type *)0)->member) ||       \
      |                       ^~~~~~~~~~~
include/linux/list.h:520:9: note: in expansion of macro 'container_of'
  520 |         container_of(ptr, type, member)
      |         ^~~~~~~~~~~~
include/linux/list.h:564:9: note: in expansion of macro 'list_entry'
  564 |         list_entry((pos)->member.next, typeof(*(pos)), member)
      |         ^~~~~~~~~~
include/linux/list.h:676:20: note: in expansion of macro 'list_next_entry'
  676 |              pos = list_next_entry(pos, member))
      |                    ^~~~~~~~~~~~~~~
drivers/bus/hisi_lpc.c:509:9: note: in expansion of macro 'list_for_each_entry'
  509 |         list_for_each_entry(child, &adev->children, node) {
      |         ^~~~~~~~~~~~~~~~~~~
drivers/bus/hisi_lpc.c:509:53: error: 'struct acpi_device' has no member named 'node'; did you mean 'fwnode'?
  509 |         list_for_each_entry(child, &adev->children, node) {
      |                                                     ^~~~
include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert'
   78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
      |                                                        ^~~~
include/linux/container_of.h:19:9: note: in expansion of macro 'static_assert'
   19 |         static_assert(__same_type(*(ptr), ((type *)0)->member) ||       \
      |         ^~~~~~~~~~~~~
include/linux/container_of.h:19:23: note: in expansion of macro '__same_type'
   19 |         static_assert(__same_type(*(ptr), ((type *)0)->member) ||       \
      |                       ^~~~~~~~~~~
include/linux/list.h:520:9: note: in expansion of macro 'container_of'
  520 |         container_of(ptr, type, member)
      |         ^~~~~~~~~~~~
include/linux/list.h:564:9: note: in expansion of macro 'list_entry'
  564 |         list_entry((pos)->member.next, typeof(*(pos)), member)
      |         ^~~~~~~~~~
include/linux/list.h:676:20: note: in expansion of macro 'list_next_entry'
  676 |              pos = list_next_entry(pos, member))
      |                    ^~~~~~~~~~~~~~~
drivers/bus/hisi_lpc.c:509:9: note: in expansion of macro 'list_for_each_entry'
  509 |         list_for_each_entry(child, &adev->children, node) {
      |         ^~~~~~~~~~~~~~~~~~~
drivers/bus/hisi_lpc.c:509:53: error: 'struct acpi_device' has no member named 'node'; did you mean 'fwnode'?
  509 |         list_for_each_entry(child, &adev->children, node) {
      |                                                     ^~~~
include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert'
   78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
      |                                                        ^~~~
include/linux/container_of.h:19:9: note: in expansion of macro 'static_assert'
   19 |         static_assert(__same_type(*(ptr), ((type *)0)->member) ||       \
      |         ^~~~~~~~~~~~~
include/linux/container_of.h:20:23: note: in expansion of macro '__same_type'
   20 |                       __same_type(*(ptr), void),                        \
      |                       ^~~~~~~~~~~
include/linux/list.h:520:9: note: in expansion of macro 'container_of'
  520 |         container_of(ptr, type, member)
      |         ^~~~~~~~~~~~
include/linux/list.h:564:9: note: in expansion of macro 'list_entry'
  564 |         list_entry((pos)->member.next, typeof(*(pos)), member)
      |         ^~~~~~~~~~
include/linux/list.h:676:20: note: in expansion of macro 'list_next_entry'
  676 |              pos = list_next_entry(pos, member))
      |                    ^~~~~~~~~~~~~~~
drivers/bus/hisi_lpc.c:509:9: note: in expansion of macro 'list_for_each_entry'
  509 |         list_for_each_entry(child, &adev->children, node) {
      |         ^~~~~~~~~~~~~~~~~~~
include/linux/compiler_types.h:293:27: error: expression in static assertion is not an integer
  293 | #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b))
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert'
   78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
      |                                                        ^~~~
include/linux/container_of.h:19:9: note: in expansion of macro 'static_assert'
   19 |         static_assert(__same_type(*(ptr), ((type *)0)->member) ||       \
      |         ^~~~~~~~~~~~~
include/linux/container_of.h:19:23: note: in expansion of macro '__same_type'
   19 |         static_assert(__same_type(*(ptr), ((type *)0)->member) ||       \
      |                       ^~~~~~~~~~~
include/linux/list.h:520:9: note: in expansion of macro 'container_of'
  520 |         container_of(ptr, type, member)
      |         ^~~~~~~~~~~~
include/linux/list.h:564:9: note: in expansion of macro 'list_entry'
  564 |         list_entry((pos)->member.next, typeof(*(pos)), member)
      |         ^~~~~~~~~~
include/linux/list.h:676:20: note: in expansion of macro 'list_next_entry'
  676 |              pos = list_next_entry(pos, member))
      |                    ^~~~~~~~~~~~~~~
drivers/bus/hisi_lpc.c:509:9: note: in expansion of macro 'list_for_each_entry'
  509 |         list_for_each_entry(child, &adev->children, node) {
      |         ^~~~~~~~~~~~~~~~~~~
In file included from include/uapi/linux/posix_types.h:5,
                 from include/uapi/linux/types.h:14,
                 from include/linux/types.h:6,
                 from include/linux/kasan-checks.h:5,
                 from include/asm-generic/rwonce.h:26,
                 from ./arch/x86/include/generated/asm/rwonce.h:1,
                 from include/linux/compiler.h:248,
                 from include/linux/build_bug.h:5,
                 from include/linux/bits.h:22,
                 from include/linux/ioport.h:13,
                 from include/linux/acpi.h:12,
                 from drivers/bus/hisi_lpc.c:9:
drivers/bus/hisi_lpc.c:509:53: error: 'struct acpi_device' has no member named 'node'; did you mean 'fwnode'?
  509 |         list_for_each_entry(child, &adev->children, node) {
      |                                                     ^~~~
include/linux/stddef.h:16:58: note: in definition of macro 'offsetof'
   16 | #define offsetof(TYPE, MEMBER)  __builtin_offsetof(TYPE, MEMBER)
      |                                                          ^~~~~~
include/linux/list.h:520:9: note: in expansion of macro 'container_of'
  520 |         container_of(ptr, type, member)
      |         ^~~~~~~~~~~~
include/linux/list.h:564:9: note: in expansion of macro 'list_entry'
  564 |         list_entry((pos)->member.next, typeof(*(pos)), member)
      |         ^~~~~~~~~~
include/linux/list.h:676:20: note: in expansion of macro 'list_next_entry'
  676 |              pos = list_next_entry(pos, member))
      |                    ^~~~~~~~~~~~~~~
drivers/bus/hisi_lpc.c:509:9: note: in expansion of macro 'list_for_each_entry'
  509 |         list_for_each_entry(child, &adev->children, node) {
      |         ^~~~~~~~~~~~~~~~~~~

Caused by commit

  647590eb6f34 ("ACPI: bus: Drop unused list heads from struct acpi_device")

I have used the pm tree from next-20220628 for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 122+ messages in thread
* linux-next: build failure after merge of the pm tree
@ 2022-04-28  1:00 Stephen Rothwell
  2022-04-28  3:07 ` Zhang Rui
                   ` (2 more replies)
  0 siblings, 3 replies; 122+ messages in thread
From: Stephen Rothwell @ 2022-04-28  1:00 UTC (permalink / raw)
  To: Rafael J. Wysocki
  Cc: Zhang Rui, Artem Bityutskiy, Linux Kernel Mailing List,
	Linux Next Mailing List

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

Hi all,

After merging the pm tree, today's linux-next build (x86_64 allmodconfig)
failed like this:

drivers/idle/intel_idle.c: In function 'adl_idle_state_table_update':
drivers/idle/intel_idle.c:1701:17: error: 'disable_promotion_to_c1e' undeclared (first use in this function)
 1701 |                 disable_promotion_to_c1e = true;
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~
drivers/idle/intel_idle.c:1701:17: note: each undeclared identifier is reported only once for each function it appears in
drivers/idle/intel_idle.c:1706:9: error: implicit declaration of function 'c1e_promotion_enable' [-Werror=implicit-function-declaration]
 1706 |         c1e_promotion_enable();
      |         ^~~~~~~~~~~~~~~~~~~~
drivers/idle/intel_idle.c: At top level:
drivers/idle/intel_idle.c:1854:13: error: conflicting types for 'c1e_promotion_enable'; have 'void(void)' [-Werror]
 1854 | static void c1e_promotion_enable(void)
      |             ^~~~~~~~~~~~~~~~~~~~
drivers/idle/intel_idle.c:1854:13: error: static declaration of 'c1e_promotion_enable' follows non-static declaration
drivers/idle/intel_idle.c:1706:9: note: previous implicit declaration of 'c1e_promotion_enable' with type 'void(void)'
 1706 |         c1e_promotion_enable();
      |         ^~~~~~~~~~~~~~~~~~~~

Caused by commit

  39c184a6a9a7 ("intel_idle: Fix the 'preferred_cstates' module parameter")

interacting with commit

  cc6e234b8264 ("intel_idle: Add AlderLake support")

Presumably this should have been fixed up in commit

  55ecda6f25ef ("Merge branch 'intel-idle' into linux-next")

I have used the pm tree from next-20220427 for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 122+ messages in thread
* linux-next: build failure after merge of the pm tree
@ 2022-01-04  0:15 Stephen Rothwell
  2022-01-04  7:29 ` Heiner Kallweit
  0 siblings, 1 reply; 122+ messages in thread
From: Stephen Rothwell @ 2022-01-04  0:15 UTC (permalink / raw)
  To: Rafael J. Wysocki
  Cc: Heiner Kallweit, Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

After merging the pm tree, today's linux-next build (x86_84 allmodconfig)
failed like this:

sound/soc/sh/rz-ssi.c: In function 'rz_ssi_probe':
sound/soc/sh/rz-ssi.c:1023:2: error: ignoring return value of 'pm_runtime_resume_and_get' declared with attribute 'warn_unused_result' [-Werror=unused-result]
 1023 |  pm_runtime_resume_and_get(&pdev->dev);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors

Caused by commit

  877d952c261e ("PM: runtime: Annotate pm_runtime_resume_and_get() as __must_check")

This also produced the following warnings in my arm multi_v7_defconfig
build:

drivers/crypto/stm32/stm32-hash.c: In function 'stm32_hash_hw_init':
drivers/crypto/stm32/stm32-hash.c:816:2: warning: ignoring return value of 'pm_runtime_resume_and_get' declared with attribute 'warn_unused_result' [-Wunused-result]
  816 |  pm_runtime_resume_and_get(hdev->dev);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/crypto/stm32/stm32-hash.c: In function 'stm32_hash_import':
drivers/crypto/stm32/stm32-hash.c:1003:2: warning: ignoring return value of 'pm_runtime_resume_and_get' declared with attribute 'warn_unused_result' [-Wunused-result]
 1003 |  pm_runtime_resume_and_get(hdev->dev);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/crypto/stm32/stm32-hash.c: In function 'stm32_hash_export':
drivers/crypto/stm32/stm32-hash.c:965:2: warning: ignoring return value of 'pm_runtime_resume_and_get' declared with attribute 'warn_unused_result' [-Wunused-result]
  965 |  pm_runtime_resume_and_get(hdev->dev);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/crypto/stm32/stm32-cryp.c: In function 'stm32_cryp_hw_init':
drivers/crypto/stm32/stm32-cryp.c:545:2: warning: ignoring return value of 'pm_runtime_resume_and_get' declared with attribute 'warn_unused_result' [-Wunused-result]
  545 |  pm_runtime_resume_and_get(cryp->dev);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I have used the pm tree from next-20211224 for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 122+ messages in thread
* linux-next: build failure after merge of the pm tree
@ 2021-12-01 23:28 Stephen Rothwell
  2021-12-02 10:04 ` Daniel Lezcano
  0 siblings, 1 reply; 122+ messages in thread
From: Stephen Rothwell @ 2021-12-01 23:28 UTC (permalink / raw)
  To: Rafael J. Wysocki
  Cc: Daniel Lezcano, Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

After merging the pm tree, today's linux-next build (x86_64 allmodconfig)
failed like this:

drivers/powercap/dtpm.c: In function 'init_dtpm':
drivers/powercap/dtpm.c:466:21: error: unused variable 'dtpm_descr' [-Werror=unused-variable]
  466 |  struct dtpm_descr *dtpm_descr;
      |                     ^~~~~~~~~~
cc1: all warnings being treated as errors

Caused by commit

  f751db8adaea ("powercap/drivers/dtpm: Disable DTPM at boot time")

I have used the pm tree from next-20211201 for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 122+ messages in thread
* linux-next: build failure after merge of the pm tree
@ 2021-02-05  0:51 Stephen Rothwell
       [not found] ` <CAHp75VfiyAtxg+wqZ30kSzCfFFsLndLjzrUc1njZG0x6vQeyBQ@mail.gmail.com>
  0 siblings, 1 reply; 122+ messages in thread
From: Stephen Rothwell @ 2021-02-05  0:51 UTC (permalink / raw)
  To: Rafael J. Wysocki
  Cc: Andy Shevchenko, Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

After merging the pm tree, today's linux-next build (x86_64 allmodconfig)
failed like this:

drivers/gpu/drm/gma500/tc35876x-dsi-lvds.c: In function 'tc35876x_brightness_init':
drivers/gpu/drm/gma500/tc35876x-dsi-lvds.c:454:8: error: implicit declaration of function 'intel_scu_ipc_ioread8'; did you mean 'intel_scu_ipc_readv'? [-Werror=implicit-function-declaration]
  454 |  ret = intel_scu_ipc_ioread8(GPIOPWMCTRL, &pwmctrl);
      |        ^~~~~~~~~~~~~~~~~~~~~
      |        intel_scu_ipc_readv
drivers/gpu/drm/gma500/tc35876x-dsi-lvds.c:461:9: error: implicit declaration of function 'intel_scu_ipc_iowrite8'; did you mean 'intel_scu_ipc_writev'? [-Werror=implicit-function-declaration]
  461 |   ret = intel_scu_ipc_iowrite8(GPIOPWMCTRL, 0x01);
      |         ^~~~~~~~~~~~~~~~~~~~~~
      |         intel_scu_ipc_writev
drivers/watchdog/intel_scu_watchdog.c:34:10: fatal error: asm/apb_timer.h: No such file or directory
   34 | #include <asm/apb_timer.h>
      |          ^~~~~~~~~~~~~~~~~
drivers/rtc/rtc-mrst.c:38:10: fatal error: asm/intel_mid_vrtc.h: No such file or directory
   38 | #include <asm/intel_mid_vrtc.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~

Caused by commits

  80b6aebc7705 ("x86/platform/intel-mid: Remove unused leftovers (vRTC)")
  975272714c6f ("x86/apb_timer: Remove driver for deprecated platform")
  08a1ce661b5c ("mfd: intel_msic: Remove driver for deprecated platform")

I have used the pm tree from next-20210204 for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 122+ messages in thread
* linux-next: build failure after merge of the pm tree
@ 2020-12-09  9:57 Stephen Rothwell
  0 siblings, 0 replies; 122+ messages in thread
From: Stephen Rothwell @ 2020-12-09  9:57 UTC (permalink / raw)
  To: Rafael J. Wysocki
  Cc: Jonathan Corbet, Hans de Goede, Mark Pearson,
	Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

After merging the pm tree, today's linux-next build (htmldocs) failed
like this:

Sphinx parallel build error:
docutils.utils.SystemMessage: /home/sfr/next/next/Documentation/ABI/testing/sysfs-platform_profile.rst:1: (SEVERE/4) Missing matching underline for section title overline.

=======================================================================
 Platform Profile Selection (e.g. :ref:`\/sys\/firmware\/acpi\/platform_profile <abi_sys_firmware_acpi_platform_profile>`)

Caused by commit

  ff950bebd0e0 ("Documentation: Add documentation for new platform_profile sysfs attribute")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 122+ messages in thread
* linux-next: build failure after merge of the pm tree
@ 2020-03-17  7:52 Stephen Rothwell
  2020-03-18 11:44 ` Stephen Rothwell
  0 siblings, 1 reply; 122+ messages in thread
From: Stephen Rothwell @ 2020-03-17  7:52 UTC (permalink / raw)
  To: Rafael J. Wysocki
  Cc: Linux Next Mailing List, Linux Kernel Mailing List, Colin Ian King

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

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.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 122+ messages in thread
* linux-next: build failure after merge of the pm tree
@ 2019-07-31  5:34 Stephen Rothwell
  2019-07-31 10:27 ` Rafael J. Wysocki
  0 siblings, 1 reply; 122+ messages in thread
From: Stephen Rothwell @ 2019-07-31  5:34 UTC (permalink / raw)
  To: Rafael J. Wysocki
  Cc: Linux Next Mailing List, Linux Kernel Mailing List, Marcelo Tosatti

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

Hi all,

After merging the pm tree, today's linux-next build (x86_64 allnoconfig)
failed like this:

x86_64-linux-gnu-ld: kernel/sched/core.o: in function `cpuidle_poll_time':
core.c:(.text+0x230): multiple definition of `cpuidle_poll_time'; arch/x86/kernel/process.o:process.c:(.text+0xc0): first defined here
x86_64-linux-gnu-ld: kernel/sched/loadavg.o: in function `cpuidle_poll_time':
loadavg.c:(.text+0x0): multiple definition of `cpuidle_poll_time'; arch/x86/kernel/process.o:process.c:(.text+0xc0): first defined here
x86_64-linux-gnu-ld: kernel/sched/clock.o: in function `cpuidle_poll_time':
clock.c:(.text+0x0): multiple definition of `cpuidle_poll_time'; arch/x86/kernel/process.o:process.c:(.text+0xc0): first defined here
x86_64-linux-gnu-ld: kernel/sched/cputime.o: in function `cpuidle_poll_time':
cputime.c:(.text+0x0): multiple definition of `cpuidle_poll_time'; arch/x86/kernel/process.o:process.c:(.text+0xc0): first defined here
x86_64-linux-gnu-ld: kernel/sched/idle.o: in function `cpuidle_poll_time':
idle.c:(.text+0xd0): multiple definition of `cpuidle_poll_time'; arch/x86/kernel/process.o:process.c:(.text+0xc0): first defined here
x86_64-linux-gnu-ld: kernel/sched/fair.o: in function `cpuidle_poll_time':
fair.c:(.text+0xb20): multiple definition of `cpuidle_poll_time'; arch/x86/kernel/process.o:process.c:(.text+0xc0): first defined here
x86_64-linux-gnu-ld: kernel/sched/rt.o: in function `cpuidle_poll_time':
rt.c:(.text+0x790): multiple definition of `cpuidle_poll_time'; arch/x86/kernel/process.o:process.c:(.text+0xc0): first defined here
x86_64-linux-gnu-ld: kernel/sched/deadline.o: in function `cpuidle_poll_time':
deadline.c:(.text+0xce0): multiple definition of `cpuidle_poll_time'; arch/x86/kernel/process.o:process.c:(.text+0xc0): first defined here
x86_64-linux-gnu-ld: kernel/sched/wait.o: in function `cpuidle_poll_time':
wait.c:(.text+0x1d0): multiple definition of `cpuidle_poll_time'; arch/x86/kernel/process.o:process.c:(.text+0xc0): first defined here
x86_64-linux-gnu-ld: kernel/sched/wait_bit.o: in function `cpuidle_poll_time':
wait_bit.c:(.text+0x50): multiple definition of `cpuidle_poll_time'; arch/x86/kernel/process.o:process.c:(.text+0xc0): first defined here
x86_64-linux-gnu-ld: kernel/sched/swait.o: in function `cpuidle_poll_time':
swait.c:(.text+0x30): multiple definition of `cpuidle_poll_time'; arch/x86/kernel/process.o:process.c:(.text+0xc0): first defined here
x86_64-linux-gnu-ld: kernel/sched/completion.o: in function `cpuidle_poll_time':
completion.c:(.text+0x0): multiple definition of `cpuidle_poll_time'; arch/x86/kernel/process.o:process.c:(.text+0xc0): first defined here

Caused by commit

  259231a04561 ("cpuidle: add poll_limit_ns to cpuidle_device structure")

I have added the following patch for today:

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Wed, 31 Jul 2019 15:29:52 +1000
Subject: [PATCH] cpuidle: header file stubs must be "static inline"

An x86_64 allmodconfig build produces these errors:

x86_64-linux-gnu-ld: kernel/sched/core.o: in function `cpuidle_poll_time':
core.c:(.text+0x230): multiple definition of `cpuidle_poll_time'; arch/x86/kernel/process.o:process.c:(.text+0xc0): first defined here

(and more)

Fixes: 259231a04561 ("cpuidle: add poll_limit_ns to cpuidle_device structure")
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 include/linux/cpuidle.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/cpuidle.h b/include/linux/cpuidle.h
index ba535a1a47d5..1a9f54eb3aa1 100644
--- a/include/linux/cpuidle.h
+++ b/include/linux/cpuidle.h
@@ -170,7 +170,7 @@ static inline int cpuidle_enter(struct cpuidle_driver *drv,
 				struct cpuidle_device *dev, int index)
 {return -ENODEV; }
 static inline void cpuidle_reflect(struct cpuidle_device *dev, int index) { }
-extern u64 cpuidle_poll_time(struct cpuidle_driver *drv,
+static inline u64 cpuidle_poll_time(struct cpuidle_driver *drv,
 			     struct cpuidle_device *dev)
 {return 0; }
 static inline int cpuidle_register_driver(struct cpuidle_driver *drv)
-- 
2.20.1

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply related	[flat|nested] 122+ messages in thread
* linux-next: build failure after merge of the pm tree
@ 2019-07-15  0:02 Stephen Rothwell
  2019-07-15  9:44 ` Rafael J. Wysocki
  0 siblings, 1 reply; 122+ messages in thread
From: Stephen Rothwell @ 2019-07-15  0:02 UTC (permalink / raw)
  To: Rafael J. Wysocki
  Cc: Linux Next Mailing List, Linux Kernel Mailing List, Zhang Rui,
	Pandruvada, Srinivas

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

Hi all,

After merging the pm tree, today's linux-next build (x86_64 allmodconfig)
failed like this:

In file included from <command-line>:
include/linux/intel_rapl.h:116:19: error: field 'pcap_rapl_online' has incomplete type
  enum cpuhp_state pcap_rapl_online;
                   ^~~~~~~~~~~~~~~~

Caused by commit

  7ebf8eff63b4 ("intel_rapl: introduce struct rapl_if_private")

This was detected by the new test that attempts to build each include
file standalone.

I have added the following fix patch for today:

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Mon, 15 Jul 2019 09:56:30 +1000
Subject: [PATCH] intel_rapl: need linux/cpuhotplug.h for enum cpuhp_state

Fixes: 7ebf8eff63b4 ("intel_rapl: introduce struct rapl_if_private")
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 include/linux/intel_rapl.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/linux/intel_rapl.h b/include/linux/intel_rapl.h
index 0c179d92d110..efb3ce892c20 100644
--- a/include/linux/intel_rapl.h
+++ b/include/linux/intel_rapl.h
@@ -12,6 +12,7 @@
 
 #include <linux/types.h>
 #include <linux/powercap.h>
+#include <linux/cpuhotplug.h>
 
 enum rapl_domain_type {
 	RAPL_DOMAIN_PACKAGE,	/* entire package/socket */
-- 
2.20.1

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply related	[flat|nested] 122+ messages in thread
* linux-next: build failure after merge of the pm tree
@ 2019-07-04  9:41 Stephen Rothwell
  2019-07-04  9:48 ` Viresh Kumar
  0 siblings, 1 reply; 122+ messages in thread
From: Stephen Rothwell @ 2019-07-04  9:41 UTC (permalink / raw)
  To: Rafael J. Wysocki
  Cc: Linux Next Mailing List, Linux Kernel Mailing List, Viresh Kumar,
	Matthias Kaehlcke, Ulf Hansson

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

Hi all,

After merging the pm tree, today's linux-next build (x86_64 allnoconfig)
failed like this:

In file included from kernel/power/qos.c:33:
include/linux/pm_qos.h: In function 'dev_pm_qos_read_value':
include/linux/pm_qos.h:205:9: error: expected '(' before 'type'
  switch type {
         ^~~~
         (
include/linux/pm_qos.h:205:9: warning: statement with no effect [-Wunused-value]
  switch type {
         ^~~~
include/linux/pm_qos.h:216:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
include/linux/pm_qos.h: At top level:
include/linux/pm_qos.h:231:4: error: expected identifier or '(' before '{' token
    { return 0; }
    ^
In file included from kernel/power/qos.c:33:
include/linux/pm_qos.h:228:19: warning: 'dev_pm_qos_add_notifier' declared 'static' but never defined [-Wunused-function]
 static inline int dev_pm_qos_add_notifier(struct device *dev,
                   ^~~~~~~~~~~~~~~~~~~~~~~

Caused by commits

  024a47a2732d ("PM / QOS: Pass request type to dev_pm_qos_{add|remove}_notifier()")
  57fa6137402b ("PM / QOS: Pass request type to dev_pm_qos_read_value()")

I applied the following fix patch for today:

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Thu, 4 Jul 2019 19:36:25 +1000
Subject: [PATCH] PM / QOS: fix typos

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 include/linux/pm_qos.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/linux/pm_qos.h b/include/linux/pm_qos.h
index 17132b10b233..2aebbc5b9950 100644
--- a/include/linux/pm_qos.h
+++ b/include/linux/pm_qos.h
@@ -202,7 +202,7 @@ static inline s32 __dev_pm_qos_resume_latency(struct device *dev)
 static inline s32 dev_pm_qos_read_value(struct device *dev,
 					enum dev_pm_qos_req_type type)
 {
-	switch type {
+	switch (type) {
 	case DEV_PM_QOS_RESUME_LATENCY:
 		return PM_QOS_RESUME_LATENCY_NO_CONSTRAINT;
 	case DEV_PM_QOS_MIN_FREQUENCY:
@@ -227,7 +227,7 @@ static inline int dev_pm_qos_remove_request(struct dev_pm_qos_request *req)
 			{ return 0; }
 static inline int dev_pm_qos_add_notifier(struct device *dev,
 					  struct notifier_block *notifier,
-					  enum dev_pm_qos_req_type type);
+					  enum dev_pm_qos_req_type type)
 			{ return 0; }
 static inline int dev_pm_qos_remove_notifier(struct device *dev,
 					     struct notifier_block *notifier,
-- 
2.20.1

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply related	[flat|nested] 122+ messages in thread
* linux-next: build failure after merge of the pm tree
@ 2019-07-01  3:37 Stephen Rothwell
  2019-07-01  7:48 ` Viresh Kumar
  0 siblings, 1 reply; 122+ messages in thread
From: Stephen Rothwell @ 2019-07-01  3:37 UTC (permalink / raw)
  To: Rafael J. Wysocki
  Cc: Linux Next Mailing List, Linux Kernel Mailing List, Viresh Kumar

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

Hi all,

After merging the pm tree, today's linux-next build (x86_64 allmodconfig)
failed like this:

In file included from drivers/cpufreq/intel_pstate.c:11:
drivers/cpufreq/intel_pstate.c: In function 'intel_pstate_update_max_freq':
drivers/cpufreq/intel_pstate.c:912:31: error: 'struct cpufreq_policy' has no member named 'user_policy'; did you mean 'last_policy'?
  new_policy.max = min(policy->user_policy.max, policy->cpuinfo.max_freq);
                               ^~~~~~~~~~~
include/linux/kernel.h:819:22: note: in definition of macro '__typecheck'
   (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1)))
                      ^
include/linux/kernel.h:843:24: note: in expansion of macro '__safe_cmp'
  __builtin_choose_expr(__safe_cmp(x, y), \
                        ^~~~~~~~~~
include/linux/kernel.h:852:19: note: in expansion of macro '__careful_cmp'
 #define min(x, y) __careful_cmp(x, y, <)
                   ^~~~~~~~~~~~~
drivers/cpufreq/intel_pstate.c:912:19: note: in expansion of macro 'min'
  new_policy.max = min(policy->user_policy.max, policy->cpuinfo.max_freq);
                   ^~~
drivers/cpufreq/intel_pstate.c:912:31: error: 'struct cpufreq_policy' has no member named 'user_policy'; did you mean 'last_policy'?
  new_policy.max = min(policy->user_policy.max, policy->cpuinfo.max_freq);
                               ^~~~~~~~~~~
include/linux/kernel.h:827:48: note: in definition of macro '__is_constexpr'
  (sizeof(int) == sizeof(*(8 ? ((void *)((long)(x) * 0l)) : (int *)8)))
                                                ^
include/linux/kernel.h:833:25: note: in expansion of macro '__no_side_effects'
   (__typecheck(x, y) && __no_side_effects(x, y))
                         ^~~~~~~~~~~~~~~~~
include/linux/kernel.h:843:24: note: in expansion of macro '__safe_cmp'
  __builtin_choose_expr(__safe_cmp(x, y), \
                        ^~~~~~~~~~
include/linux/kernel.h:852:19: note: in expansion of macro '__careful_cmp'
 #define min(x, y) __careful_cmp(x, y, <)
                   ^~~~~~~~~~~~~
drivers/cpufreq/intel_pstate.c:912:19: note: in expansion of macro 'min'
  new_policy.max = min(policy->user_policy.max, policy->cpuinfo.max_freq);
                   ^~~
drivers/cpufreq/intel_pstate.c:912:31: error: 'struct cpufreq_policy' has no member named 'user_policy'; did you mean 'last_policy'?
  new_policy.max = min(policy->user_policy.max, policy->cpuinfo.max_freq);
                               ^~~~~~~~~~~
include/linux/kernel.h:835:27: note: in definition of macro '__cmp'
 #define __cmp(x, y, op) ((x) op (y) ? (x) : (y))
                           ^
include/linux/kernel.h:852:19: note: in expansion of macro '__careful_cmp'
 #define min(x, y) __careful_cmp(x, y, <)
                   ^~~~~~~~~~~~~
drivers/cpufreq/intel_pstate.c:912:19: note: in expansion of macro 'min'
  new_policy.max = min(policy->user_policy.max, policy->cpuinfo.max_freq);
                   ^~~
drivers/cpufreq/intel_pstate.c:912:31: error: 'struct cpufreq_policy' has no member named 'user_policy'; did you mean 'last_policy'?
  new_policy.max = min(policy->user_policy.max, policy->cpuinfo.max_freq);
                               ^~~~~~~~~~~
include/linux/kernel.h:835:40: note: in definition of macro '__cmp'
 #define __cmp(x, y, op) ((x) op (y) ? (x) : (y))
                                        ^
include/linux/kernel.h:852:19: note: in expansion of macro '__careful_cmp'
 #define min(x, y) __careful_cmp(x, y, <)
                   ^~~~~~~~~~~~~
drivers/cpufreq/intel_pstate.c:912:19: note: in expansion of macro 'min'
  new_policy.max = min(policy->user_policy.max, policy->cpuinfo.max_freq);
                   ^~~
drivers/cpufreq/intel_pstate.c:912:31: error: 'struct cpufreq_policy' has no member named 'user_policy'; did you mean 'last_policy'?
  new_policy.max = min(policy->user_policy.max, policy->cpuinfo.max_freq);
                               ^~~~~~~~~~~
include/linux/kernel.h:838:10: note: in definition of macro '__cmp_once'
   typeof(x) unique_x = (x);  \
          ^
include/linux/kernel.h:852:19: note: in expansion of macro '__careful_cmp'
 #define min(x, y) __careful_cmp(x, y, <)
                   ^~~~~~~~~~~~~
drivers/cpufreq/intel_pstate.c:912:19: note: in expansion of macro 'min'
  new_policy.max = min(policy->user_policy.max, policy->cpuinfo.max_freq);
                   ^~~
drivers/cpufreq/intel_pstate.c:912:31: error: 'struct cpufreq_policy' has no member named 'user_policy'; did you mean 'last_policy'?
  new_policy.max = min(policy->user_policy.max, policy->cpuinfo.max_freq);
                               ^~~~~~~~~~~
include/linux/kernel.h:838:25: note: in definition of macro '__cmp_once'
   typeof(x) unique_x = (x);  \
                         ^
include/linux/kernel.h:852:19: note: in expansion of macro '__careful_cmp'
 #define min(x, y) __careful_cmp(x, y, <)
                   ^~~~~~~~~~~~~
drivers/cpufreq/intel_pstate.c:912:19: note: in expansion of macro 'min'
  new_policy.max = min(policy->user_policy.max, policy->cpuinfo.max_freq);
                   ^~~
include/linux/kernel.h:843:2: error: first argument to '__builtin_choose_expr' not a constant
  __builtin_choose_expr(__safe_cmp(x, y), \
  ^~~~~~~~~~~~~~~~~~~~~
include/linux/kernel.h:852:19: note: in expansion of macro '__careful_cmp'
 #define min(x, y) __careful_cmp(x, y, <)
                   ^~~~~~~~~~~~~
drivers/cpufreq/intel_pstate.c:912:19: note: in expansion of macro 'min'
  new_policy.max = min(policy->user_policy.max, policy->cpuinfo.max_freq);
                   ^~~
drivers/cpufreq/intel_pstate.c:913:31: error: 'struct cpufreq_policy' has no member named 'user_policy'; did you mean 'last_policy'?
  new_policy.min = min(policy->user_policy.min, new_policy.max);
                               ^~~~~~~~~~~
include/linux/kernel.h:819:22: note: in definition of macro '__typecheck'
   (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1)))
                      ^
include/linux/kernel.h:843:24: note: in expansion of macro '__safe_cmp'
  __builtin_choose_expr(__safe_cmp(x, y), \
                        ^~~~~~~~~~
include/linux/kernel.h:852:19: note: in expansion of macro '__careful_cmp'
 #define min(x, y) __careful_cmp(x, y, <)
                   ^~~~~~~~~~~~~
drivers/cpufreq/intel_pstate.c:913:19: note: in expansion of macro 'min'
  new_policy.min = min(policy->user_policy.min, new_policy.max);
                   ^~~
drivers/cpufreq/intel_pstate.c:913:31: error: 'struct cpufreq_policy' has no member named 'user_policy'; did you mean 'last_policy'?
  new_policy.min = min(policy->user_policy.min, new_policy.max);
                               ^~~~~~~~~~~
include/linux/kernel.h:827:48: note: in definition of macro '__is_constexpr'
  (sizeof(int) == sizeof(*(8 ? ((void *)((long)(x) * 0l)) : (int *)8)))
                                                ^
include/linux/kernel.h:833:25: note: in expansion of macro '__no_side_effects'
   (__typecheck(x, y) && __no_side_effects(x, y))
                         ^~~~~~~~~~~~~~~~~
include/linux/kernel.h:843:24: note: in expansion of macro '__safe_cmp'
  __builtin_choose_expr(__safe_cmp(x, y), \
                        ^~~~~~~~~~
include/linux/kernel.h:852:19: note: in expansion of macro '__careful_cmp'
 #define min(x, y) __careful_cmp(x, y, <)
                   ^~~~~~~~~~~~~
drivers/cpufreq/intel_pstate.c:913:19: note: in expansion of macro 'min'
  new_policy.min = min(policy->user_policy.min, new_policy.max);
                   ^~~
drivers/cpufreq/intel_pstate.c:913:31: error: 'struct cpufreq_policy' has no member named 'user_policy'; did you mean 'last_policy'?
  new_policy.min = min(policy->user_policy.min, new_policy.max);
                               ^~~~~~~~~~~
include/linux/kernel.h:835:27: note: in definition of macro '__cmp'
 #define __cmp(x, y, op) ((x) op (y) ? (x) : (y))
                           ^
include/linux/kernel.h:852:19: note: in expansion of macro '__careful_cmp'
 #define min(x, y) __careful_cmp(x, y, <)
                   ^~~~~~~~~~~~~
drivers/cpufreq/intel_pstate.c:913:19: note: in expansion of macro 'min'
  new_policy.min = min(policy->user_policy.min, new_policy.max);
                   ^~~
drivers/cpufreq/intel_pstate.c:913:31: error: 'struct cpufreq_policy' has no member named 'user_policy'; did you mean 'last_policy'?
  new_policy.min = min(policy->user_policy.min, new_policy.max);
                               ^~~~~~~~~~~
include/linux/kernel.h:835:40: note: in definition of macro '__cmp'
 #define __cmp(x, y, op) ((x) op (y) ? (x) : (y))
                                        ^
include/linux/kernel.h:852:19: note: in expansion of macro '__careful_cmp'
 #define min(x, y) __careful_cmp(x, y, <)
                   ^~~~~~~~~~~~~
drivers/cpufreq/intel_pstate.c:913:19: note: in expansion of macro 'min'
  new_policy.min = min(policy->user_policy.min, new_policy.max);
                   ^~~
drivers/cpufreq/intel_pstate.c:913:31: error: 'struct cpufreq_policy' has no member named 'user_policy'; did you mean 'last_policy'?
  new_policy.min = min(policy->user_policy.min, new_policy.max);
                               ^~~~~~~~~~~
include/linux/kernel.h:838:10: note: in definition of macro '__cmp_once'
   typeof(x) unique_x = (x);  \
          ^
include/linux/kernel.h:852:19: note: in expansion of macro '__careful_cmp'
 #define min(x, y) __careful_cmp(x, y, <)
                   ^~~~~~~~~~~~~
drivers/cpufreq/intel_pstate.c:913:19: note: in expansion of macro 'min'
  new_policy.min = min(policy->user_policy.min, new_policy.max);
                   ^~~
drivers/cpufreq/intel_pstate.c:913:31: error: 'struct cpufreq_policy' has no member named 'user_policy'; did you mean 'last_policy'?
  new_policy.min = min(policy->user_policy.min, new_policy.max);
                               ^~~~~~~~~~~
include/linux/kernel.h:838:25: note: in definition of macro '__cmp_once'
   typeof(x) unique_x = (x);  \
                         ^
include/linux/kernel.h:852:19: note: in expansion of macro '__careful_cmp'
 #define min(x, y) __careful_cmp(x, y, <)
                   ^~~~~~~~~~~~~
drivers/cpufreq/intel_pstate.c:913:19: note: in expansion of macro 'min'
  new_policy.min = min(policy->user_policy.min, new_policy.max);
                   ^~~
include/linux/kernel.h:843:2: error: first argument to '__builtin_choose_expr' not a constant
  __builtin_choose_expr(__safe_cmp(x, y), \
  ^~~~~~~~~~~~~~~~~~~~~
include/linux/kernel.h:852:19: note: in expansion of macro '__careful_cmp'
 #define min(x, y) __careful_cmp(x, y, <)
                   ^~~~~~~~~~~~~
drivers/cpufreq/intel_pstate.c:913:19: note: in expansion of macro 'min'
  new_policy.min = min(policy->user_policy.min, new_policy.max);
                   ^~~

Caused by commit

  218208538ffe ("cpufreq: Add QoS requests for userspace constraints")

from the pm tree interacting with commit

  9083e4986124 ("cpufreq: intel_pstate: Update max frequency on global turbo changes")

from Linus' tree.

I have used the pm tree from next-20190628 for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 122+ messages in thread
* linux-next: build failure after merge of the pm tree
@ 2018-05-24 14:16 Mark Brown
  0 siblings, 0 replies; 122+ messages in thread
From: Mark Brown @ 2018-05-24 14:16 UTC (permalink / raw)
  To: Rafael J. Wysocki, Zhang Rui, Wendy Wang, Catalin Marinas, Will Deacon
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List, linux-arm-kernel

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

Hi Rafael,

After merging the pm tree, today's linux-next build (arm64 defconfig)
failed like this:

drivers/acpi/ec.o: In function `acpi_ec_dispatch_gpe':
/home/broonie/next/next/drivers/acpi/ec.c:1040: undefined reference to `acpi_dispatch_gpe'
/home/broonie/next/next/drivers/acpi/ec.c:1040:(.text+0x228c): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `acpi_dispatch_gpe'

Probably caused by commit

  8f81c457105b5d4 ("ACPI: EC: Dispatch the EC GPE directly on s2idle wake")

(though the symbol appears to be there and like it should be built and
the relocation warning looks funky...).  I've used the PM tree from the
last -next.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 122+ messages in thread
* linux-next: build failure after merge of the pm tree
@ 2016-09-14  4:27 Stephen Rothwell
  2016-09-14 21:38 ` Rafael J. Wysocki
  0 siblings, 1 reply; 122+ messages in thread
From: Stephen Rothwell @ 2016-09-14  4:27 UTC (permalink / raw)
  To: Rafael J. Wysocki
  Cc: linux-next, linux-kernel, Krzysztof Kozlowski, MyungJoo Ham,
	Chanwoo Choi

Hi Rafael,

After merging the pm tree, today's linux-next build (powerpc allyesconfig)
failed like this:

drivers/devfreq/tegra-devfreq.c: In function 'tegra_devfreq_target':
drivers/devfreq/tegra-devfreq.c:500:2: error: implicit declaration of function 'clk_set_min_rate' [-Werror=implicit-function-declaration]
  clk_set_min_rate(tegra->emc_clock, rate);
  ^

Caused by commit

  797da5598f3a ("PM / devfreq: Add COMPILE_TEST for build coverage")

clk_set_min_rate() usage depends on CONFIG_HAVE_CLK.

I added the following for today:

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Wed, 14 Sep 2016 14:22:25 +1000
Subject: [PATCH] partial revert of 797da5598f3a ("PM / devfreq: Add
 COMPILE_TEST for build coverage")

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 drivers/devfreq/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/devfreq/Kconfig b/drivers/devfreq/Kconfig
index cadd56e50b2c..93b6ada06676 100644
--- a/drivers/devfreq/Kconfig
+++ b/drivers/devfreq/Kconfig
@@ -92,7 +92,7 @@ config ARM_EXYNOS_BUS_DEVFREQ
 
 config ARM_TEGRA_DEVFREQ
 	tristate "Tegra DEVFREQ Driver"
-	depends on ARCH_TEGRA_124_SOC || COMPILE_TEST
+	depends on ARCH_TEGRA_124_SOC
 	select DEVFREQ_GOV_SIMPLE_ONDEMAND
 	select PM_OPP
 	help
-- 
2.8.1




-- 
Cheers,
Stephen Rothwell

^ permalink raw reply related	[flat|nested] 122+ messages in thread
* linux-next: build failure after merge of the pm tree
@ 2016-07-11  1:46 Stephen Rothwell
  2016-07-11  4:48 ` Mika Westerberg
  0 siblings, 1 reply; 122+ messages in thread
From: Stephen Rothwell @ 2016-07-11  1:46 UTC (permalink / raw)
  To: Rafael J. Wysocki
  Cc: linux-next, linux-kernel, Octavian Purdila, Mika Westerberg

Hi Rafael,

After merging the pm tree, today's linux-next build (x86_64 allmodconfig)
failed like this:

ERROR: "configfs_unregister_subsystem" [samples/configfs/configfs_sample.ko] undefined!
ERROR: "configfs_register_subsystem" [samples/configfs/configfs_sample.ko] undefined!
ERROR: "config_group_init" [samples/configfs/configfs_sample.ko] undefined!
ERROR: "config_item_init_type_name" [samples/configfs/configfs_sample.ko] undefined!
ERROR: "config_group_init_type_name" [samples/configfs/configfs_sample.ko] undefined!
ERROR: "configfs_undepend_item" [fs/ocfs2/cluster/ocfs2_nodemanager.ko] undefined!
ERROR: "config_item_put" [fs/ocfs2/cluster/ocfs2_nodemanager.ko] undefined!
ERROR: "config_item_init_type_name" [fs/ocfs2/cluster/ocfs2_nodemanager.ko] undefined!

... and many more ...

Presumably (maybe?) caused by commit

  0bf54fcd9504 ("ACPI: add support for configfs")

though it is not obvious why this should be a problem.

I have used the version of the pm tree from next-20160708 for today.
-- 
Cheers,
Stephen Rothwell

^ permalink raw reply	[flat|nested] 122+ messages in thread
* linux-next: build failure after merge of the pm tree
@ 2016-06-02  2:12 Stephen Rothwell
  0 siblings, 0 replies; 122+ messages in thread
From: Stephen Rothwell @ 2016-06-02  2:12 UTC (permalink / raw)
  To: Rafael J. Wysocki; +Cc: linux-next, linux-kernel

Hi Rafael,

After merging the pm tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

arch/powerpc/platforms/cell/cpufreq_spudemand.c: In function 'spu_gov_govern':
arch/powerpc/platforms/cell/cpufreq_spudemand.c:98:7: error: 'CPUFREQ_GOV_START' undeclared (first use in this function)
  case CPUFREQ_GOV_START:
       ^
arch/powerpc/platforms/cell/cpufreq_spudemand.c:98:7: note: each undeclared identifier is reported only once for each function it appears in
arch/powerpc/platforms/cell/cpufreq_spudemand.c:124:7: error: 'CPUFREQ_GOV_STOP' undeclared (first use in this function)
  case CPUFREQ_GOV_STOP:
       ^
arch/powerpc/platforms/cell/cpufreq_spudemand.c: At top level:
arch/powerpc/platforms/cell/cpufreq_spudemand.c:142:2: error: unknown field 'governor' specified in initializer
  .governor = spu_gov_govern,
  ^
arch/powerpc/platforms/cell/cpufreq_spudemand.c:142:14: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
  .governor = spu_gov_govern,
              ^
arch/powerpc/platforms/cell/cpufreq_spudemand.c:142:14: note: (near initialization for 'spu_governor.init')

Caused by commit

  c1596d383aef ("cpufreq: governor: Get rid of governor events")

I have used the pm tree from next-20160601 for today.

-- 
Cheers,
Stephen Rothwell

^ permalink raw reply	[flat|nested] 122+ messages in thread
* linux-next: build failure after merge of the pm tree
@ 2016-04-01  1:27 Stephen Rothwell
  2016-04-01 20:51 ` Rafael J. Wysocki
  0 siblings, 1 reply; 122+ messages in thread
From: Stephen Rothwell @ 2016-04-01  1:27 UTC (permalink / raw)
  To: Rafael J. Wysocki; +Cc: linux-next, linux-kernel

Hi Rafael,

After merging the pm tree, today's linux-next build (x86_64 allmodconfig)
failed like this:

ERROR: "__tracepoint_cpu_frequency" [kernel/sched/cpufreq_schedutil.ko] undefined!

Caused by commit

  d4913d2934b5 ("cpufreq: schedutil: New governor based on scheduler utilization data")

I have used the pm tree from next-20160331 for today.

-- 
Cheers,
Stephen Rothwell

^ permalink raw reply	[flat|nested] 122+ messages in thread
* linux-next: build failure after merge of the pm tree
@ 2015-12-09  1:54 Stephen Rothwell
  2015-12-09  2:00 ` Viresh Kumar
  0 siblings, 1 reply; 122+ messages in thread
From: Stephen Rothwell @ 2015-12-09  1:54 UTC (permalink / raw)
  To: Rafael J. Wysocki; +Cc: linux-next, linux-kernel, Viresh Kumar, Ashwin Chaugule

Hi Rafael,

After merging the pm tree, today's linux-next build (x86_64 allmodconfig)
failed like this:

ERROR: "gov_cancel_work" [drivers/cpufreq/cpufreq_ondemand.ko] undefined!

Caused by commit

  68e115b19a01 ("cpufreq: governor: replace per-cpu delayed work with timers")

I have used the pm tree from next-20151208 for today.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

^ permalink raw reply	[flat|nested] 122+ messages in thread
* linux-next: build failure after merge of the pm tree
@ 2015-11-01  6:57 Stephen Rothwell
  2015-11-02  0:37 ` Rafael J. Wysocki
  0 siblings, 1 reply; 122+ messages in thread
From: Stephen Rothwell @ 2015-11-01  6:57 UTC (permalink / raw)
  To: Rafael J. Wysocki, Olof Johansson, Arnd Bergmann, linux-arm-kernel
  Cc: linux-next, linux-kernel, Matthias Brugger, Marc Zyngier

Hi Rafael,

After merging the pm tree, today's linux-next build (arm
multi_v7_defconfig) failed like this:

arch/arm/mach-mediatek/mediatek.c: In function 'mediatek_timer_init':
arch/arm/mach-mediatek/mediatek.c:43:2: error: implicit declaration of function 'clocksource_of_init' [-Werror=implicit-function-declaration]
  clocksource_of_init();
  ^

Caused by commit

  3722ed2380ad ("clocksource: cosmetic: Drop OF 'dependency' from symbols")

interacting with commit

  9821e545c5e0 ("ARM: mediatek: enable gpt6 on boot up to make arch timer working")

from the arm-soc tree.

I applied the following merge fix patch for today (someone should tell
Linus when theese trees are merged):

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Sun, 1 Nov 2015 17:52:26 +1100
Subject: [PATCH] ARM: mediatek: fixup for clocksource_of_init API change

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 arch/arm/mach-mediatek/mediatek.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-mediatek/mediatek.c b/arch/arm/mach-mediatek/mediatek.c
index 19dc738c1abc..c88a47a3dc37 100644
--- a/arch/arm/mach-mediatek/mediatek.c
+++ b/arch/arm/mach-mediatek/mediatek.c
@@ -40,7 +40,7 @@ static void __init mediatek_timer_init(void)
 	}
 
 	of_clk_init(NULL);
-	clocksource_of_init();
+	clocksource_probe();
 };
 
 static const char * const mediatek_board_dt_compat[] = {
-- 
2.6.1

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

^ permalink raw reply related	[flat|nested] 122+ messages in thread
* linux-next: build failure after merge of the pm tree
@ 2015-04-13  4:24 Stephen Rothwell
  2015-04-13 12:06 ` Rafael J. Wysocki
  2015-04-15  2:30 ` Stephen Rothwell
  0 siblings, 2 replies; 122+ messages in thread
From: Stephen Rothwell @ 2015-04-13  4:24 UTC (permalink / raw)
  To: Rafael J. Wysocki
  Cc: linux-next, linux-kernel, Len Brown, Dasaratharaman Chandramouli

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

Hi Rafael,

After merging the pm tree, today's linux-next build (x86_64 allmodconfig)
failed like this:

In file included from arch/x86/include/asm/msr.h:131:0,
                 from arch/x86/include/asm/processor.h:20,
                 from arch/x86/include/asm/thread_info.h:23,
                 from include/linux/thread_info.h:54,
                 from arch/x86/include/asm/preempt.h:6,
                 from include/linux/preempt.h:18,
                 from include/linux/smp.h:55,
                 from include/linux/kernel_stat.h:4,
                 from drivers/cpufreq/intel_pstate.c:14:
drivers/cpufreq/intel_pstate.c: In function 'knl_get_turbo_pstate':
drivers/cpufreq/intel_pstate.c:622:9: error: 'MSR_NHM_TURBO_RATIO_LIMIT' undeclared (first use in this function)
  rdmsrl(MSR_NHM_TURBO_RATIO_LIMIT, value);
         ^
arch/x86/include/asm/paravirt.h:153:26: note: in definition of macro 'rdmsrl'
  val = paravirt_read_msr(msr, &_err); \
                          ^
drivers/cpufreq/intel_pstate.c:622:9: note: each undeclared identifier is reported only once for each function it appears in
  rdmsrl(MSR_NHM_TURBO_RATIO_LIMIT, value);
         ^
arch/x86/include/asm/paravirt.h:153:26: note: in definition of macro 'rdmsrl'
  val = paravirt_read_msr(msr, &_err); \
                          ^

Caused by commit 6acfd09a439a ("tools/power turbostat: define and dump
MSR_TURBO_RATIO_LIMIT2") interacting with commit b34ef932d79a
("intel_pstate: Knights Landing support").  This should have been
resolved in commit 08fb40f3fbeb ("Merge branches 'powercap' and
'pm-tools'").

I have added the following patch for today:

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Mon, 13 Apr 2015 14:11:11 +1000
Subject: [PATCH] intel_pstate: fix bad merge (MSR_NHM_TURBO_RATIO_LIMIT rename)

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 drivers/cpufreq/intel_pstate.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/cpufreq/intel_pstate.c b/drivers/cpufreq/intel_pstate.c
index 875154d5f60b..5ecd2689a8fc 100644
--- a/drivers/cpufreq/intel_pstate.c
+++ b/drivers/cpufreq/intel_pstate.c
@@ -619,7 +619,7 @@ static int knl_get_turbo_pstate(void)
 	u64 value;
 	int nont, ret;
 
-	rdmsrl(MSR_NHM_TURBO_RATIO_LIMIT, value);
+	rdmsrl(MSR_TURBO_RATIO_LIMIT, value);
 	nont = core_get_max_pstate();
 	ret = (((value) >> 8) & 0xFF);
 	if (ret <= nont)
-- 
2.1.4

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply related	[flat|nested] 122+ messages in thread
* linux-next: build failure after merge of the pm tree
@ 2015-02-09  2:26 Stephen Rothwell
  2015-02-09  2:53 ` Jiang Liu
  2015-02-09  3:19 ` Rafael J. Wysocki
  0 siblings, 2 replies; 122+ messages in thread
From: Stephen Rothwell @ 2015-02-09  2:26 UTC (permalink / raw)
  To: Rafael J. Wysocki, Bjorn Helgaas
  Cc: linux-next, linux-kernel, Lorenzo Pieralisi, Jiang Liu

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

Hi Rafael,

After merging the pm tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

In file included from drivers/of/of_pci.c:1:0:
drivers/of/of_pci.c: In function 'of_pci_get_host_bridge_resources':
include/linux/list.h:447:43: error: dereferencing pointer to incomplete type
  for (pos = list_first_entry(head, typeof(*pos), member); \
                                           ^
include/linux/kernel.h:799:18: note: in definition of macro 'container_of'
  const typeof( ((type *)0)->member ) *__mptr = (ptr); \
                  ^
include/linux/list.h:363:2: note: in expansion of macro 'list_entry'
  list_entry((ptr)->next, type, member)
  ^
include/linux/list.h:447:13: note: in expansion of macro 'list_first_entry'
  for (pos = list_first_entry(head, typeof(*pos), member); \
             ^
drivers/of/of_pci.c:229:2: note: in expansion of macro 'list_for_each_entry'
  list_for_each_entry(window, resources, list)
  ^
include/linux/kernel.h:799:48: warning: initialization from incompatible pointer type
  const typeof( ((type *)0)->member ) *__mptr = (ptr); \
                                                ^
include/linux/list.h:352:2: note: in expansion of macro 'container_of'
  container_of(ptr, type, member)
  ^
include/linux/list.h:363:2: note: in expansion of macro 'list_entry'
  list_entry((ptr)->next, type, member)
  ^
include/linux/list.h:447:13: note: in expansion of macro 'list_first_entry'
  for (pos = list_first_entry(head, typeof(*pos), member); \
             ^
drivers/of/of_pci.c:229:2: note: in expansion of macro 'list_for_each_entry'
  list_for_each_entry(window, resources, list)
  ^
include/linux/list.h:447:43: error: dereferencing pointer to incomplete type
  for (pos = list_first_entry(head, typeof(*pos), member); \
                                           ^
include/linux/kernel.h:800:3: note: in definition of macro 'container_of'
  (type *)( (char *)__mptr - offsetof(type,member) );})
   ^
include/linux/list.h:363:2: note: in expansion of macro 'list_entry'
  list_entry((ptr)->next, type, member)
  ^
include/linux/list.h:447:13: note: in expansion of macro 'list_first_entry'
  for (pos = list_first_entry(head, typeof(*pos), member); \
             ^
drivers/of/of_pci.c:229:2: note: in expansion of macro 'list_for_each_entry'
  list_for_each_entry(window, resources, list)
  ^
In file included from include/linux/compiler-gcc.h:106:0,
                 from include/linux/compiler.h:54,
                 from include/linux/linkage.h:4,
                 from include/linux/kernel.h:6,
                 from drivers/of/of_pci.c:1:
include/linux/list.h:447:43: error: dereferencing pointer to incomplete type
  for (pos = list_first_entry(head, typeof(*pos), member); \
                                           ^
include/linux/compiler-gcc4.h:14:53: note: in definition of macro '__compiler_offsetof'
 #define __compiler_offsetof(a,b) __builtin_offsetof(a,b)
                                                     ^
include/linux/kernel.h:800:29: note: in expansion of macro 'offsetof'
  (type *)( (char *)__mptr - offsetof(type,member) );})
                             ^
include/linux/list.h:352:2: note: in expansion of macro 'container_of'
  container_of(ptr, type, member)
  ^
include/linux/list.h:363:2: note: in expansion of macro 'list_entry'
  list_entry((ptr)->next, type, member)
  ^
include/linux/list.h:447:13: note: in expansion of macro 'list_first_entry'
  for (pos = list_first_entry(head, typeof(*pos), member); \
             ^
drivers/of/of_pci.c:229:2: note: in expansion of macro 'list_for_each_entry'
  list_for_each_entry(window, resources, list)
  ^
In file included from include/linux/kobject.h:20:0,
                 from include/linux/of.h:21,
                 from drivers/of/of_pci.c:3:
include/linux/list.h:448:11: error: dereferencing pointer to incomplete type
       &pos->member != (head);     \
           ^
drivers/of/of_pci.c:229:2: note: in expansion of macro 'list_for_each_entry'
  list_for_each_entry(window, resources, list)
  ^
In file included from drivers/of/of_pci.c:1:0:
include/linux/list.h:393:40: error: dereferencing pointer to incomplete type
  list_entry((pos)->member.next, typeof(*(pos)), member)
                                        ^
include/linux/kernel.h:799:18: note: in definition of macro 'container_of'
  const typeof( ((type *)0)->member ) *__mptr = (ptr); \
                  ^
include/linux/list.h:393:2: note: in expansion of macro 'list_entry'
  list_entry((pos)->member.next, typeof(*(pos)), member)
  ^
include/linux/list.h:449:13: note: in expansion of macro 'list_next_entry'
       pos = list_next_entry(pos, member))
             ^
drivers/of/of_pci.c:229:2: note: in expansion of macro 'list_for_each_entry'
  list_for_each_entry(window, resources, list)
  ^
include/linux/list.h:393:18: error: dereferencing pointer to incomplete type
  list_entry((pos)->member.next, typeof(*(pos)), member)
                  ^
include/linux/kernel.h:799:49: note: in definition of macro 'container_of'
  const typeof( ((type *)0)->member ) *__mptr = (ptr); \
                                                 ^
include/linux/list.h:393:2: note: in expansion of macro 'list_entry'
  list_entry((pos)->member.next, typeof(*(pos)), member)
  ^
include/linux/list.h:449:13: note: in expansion of macro 'list_next_entry'
       pos = list_next_entry(pos, member))
             ^
drivers/of/of_pci.c:229:2: note: in expansion of macro 'list_for_each_entry'
  list_for_each_entry(window, resources, list)
  ^
include/linux/list.h:393:40: error: dereferencing pointer to incomplete type
  list_entry((pos)->member.next, typeof(*(pos)), member)
                                        ^
include/linux/kernel.h:800:3: note: in definition of macro 'container_of'
  (type *)( (char *)__mptr - offsetof(type,member) );})
   ^
include/linux/list.h:393:2: note: in expansion of macro 'list_entry'
  list_entry((pos)->member.next, typeof(*(pos)), member)
  ^
include/linux/list.h:449:13: note: in expansion of macro 'list_next_entry'
       pos = list_next_entry(pos, member))
             ^
drivers/of/of_pci.c:229:2: note: in expansion of macro 'list_for_each_entry'
  list_for_each_entry(window, resources, list)
  ^
In file included from include/linux/compiler-gcc.h:106:0,
                 from include/linux/compiler.h:54,
                 from include/linux/linkage.h:4,
                 from include/linux/kernel.h:6,
                 from drivers/of/of_pci.c:1:
include/linux/list.h:393:40: error: dereferencing pointer to incomplete type
  list_entry((pos)->member.next, typeof(*(pos)), member)
                                        ^
include/linux/compiler-gcc4.h:14:53: note: in definition of macro '__compiler_offsetof'
 #define __compiler_offsetof(a,b) __builtin_offsetof(a,b)
                                                     ^
include/linux/kernel.h:800:29: note: in expansion of macro 'offsetof'
  (type *)( (char *)__mptr - offsetof(type,member) );})
                             ^
include/linux/list.h:352:2: note: in expansion of macro 'container_of'
  container_of(ptr, type, member)
  ^
include/linux/list.h:393:2: note: in expansion of macro 'list_entry'
  list_entry((pos)->member.next, typeof(*(pos)), member)
  ^
include/linux/list.h:449:13: note: in expansion of macro 'list_next_entry'
       pos = list_next_entry(pos, member))
             ^
drivers/of/of_pci.c:229:2: note: in expansion of macro 'list_for_each_entry'
  list_for_each_entry(window, resources, list)
  ^
drivers/of/of_pci.c:230:15: error: dereferencing pointer to incomplete type
   kfree(window->res);
               ^

Caused by commit 14d76b68f281 ("PCI: Use common resource list
management code instead of private implementation") interacting with
commit d2be00c0fb5a ("of/pci: Free resources on failure in
of_pci_get_host_bridge_resources()") from the pci tree.

I applied the following merge fix patch (which may need more work?).
Someone needs to remember to tell Linus about this fix (or similar)
when these trees get merged.

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Mon, 9 Feb 2015 13:08:24 +1100
Subject: [PATCH] of/pci: fix up for "PCI: Use common resource list management
 code instead of private implementation"

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 drivers/of/of_pci.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/of/of_pci.c b/drivers/of/of_pci.c
index 60dc36c865b5..110fece2ff53 100644
--- a/drivers/of/of_pci.c
+++ b/drivers/of/of_pci.c
@@ -140,7 +140,7 @@ int of_pci_get_host_bridge_resources(struct device_node *dev,
 			unsigned char busno, unsigned char bus_max,
 			struct list_head *resources, resource_size_t *io_base)
 {
-	struct pci_host_bridge_window *window;
+	struct resource_entry *window;
 	struct resource *res;
 	struct resource *bus_range;
 	struct of_pci_range range;
@@ -226,7 +226,7 @@ int of_pci_get_host_bridge_resources(struct device_node *dev,
 conversion_failed:
 	kfree(res);
 parse_failed:
-	list_for_each_entry(window, resources, list)
+	resource_list_for_each_entry(window, resources)
 		kfree(window->res);
 	pci_free_resource_list(resources);
 	kfree(bus_range);
-- 
2.1.4

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply related	[flat|nested] 122+ messages in thread
* linux-next: build failure after merge of the pm tree
@ 2014-08-11  1:57 Stephen Rothwell
  2014-08-12  1:10 ` Rafael J. Wysocki
  0 siblings, 1 reply; 122+ messages in thread
From: Stephen Rothwell @ 2014-08-11  1:57 UTC (permalink / raw)
  To: Rafael J. Wysocki; +Cc: linux-next, linux-kernel, Chanwoo Choi, Lee Jones

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

Hi Rafael,

After merging the pm tree, today's linux-next build (x86_64 allmodconfig)
failed like this:

drivers/mfd/sec-core.c: In function 'sec_pmic_suspend':
drivers/mfd/sec-core.c:438:29: error: 'PM_SUSPEND_MEM' undeclared (first use in this function)
   regulator_suspend_prepare(PM_SUSPEND_MEM);
                             ^

Caused by commit bb3274b6442d ("PM / sleep: Rename symbols, functions
and variables related to sleep") interacting with commit b7cde7078d23
("mfd: sec-core: Prepare regulators for suspend state to reduce
power-consumption") from Linus' tree.

I applied the following merge fix patch:

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Mon, 11 Aug 2014 11:55:23 +1000
Subject: [PATCH] PM / sleep: fix for Rename symbols, functions and variables related to sleep

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 drivers/mfd/sec-core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mfd/sec-core.c b/drivers/mfd/sec-core.c
index dba7e2b6f8e9..d289dc5fef66 100644
--- a/drivers/mfd/sec-core.c
+++ b/drivers/mfd/sec-core.c
@@ -435,7 +435,7 @@ static int sec_pmic_suspend(struct device *dev)
 	switch (sec_pmic->device_type) {
 	case S2MPS14X:
 	case S2MPU02:
-		regulator_suspend_prepare(PM_SUSPEND_MEM);
+		regulator_suspend_prepare(PM_SUSPEND_DEEP);
 		break;
 	default:
 		break;
-- 
2.1.0.rc1

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply related	[flat|nested] 122+ messages in thread
* linux-next: build failure after merge of the pm tree
@ 2013-12-18  1:00 Stephen Rothwell
  2013-12-18  1:17 ` Rafael J. Wysocki
  0 siblings, 1 reply; 122+ messages in thread
From: Stephen Rothwell @ 2013-12-18  1:00 UTC (permalink / raw)
  To: Rafael J. Wysocki; +Cc: linux-next, linux-kernel, Lv Zheng

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

Hi Rafael,

After merging the pm tree, today's linux-next build (x86_64 allmodconfig)
failed like this:

drivers/acpi/nvs.c:15:27: fatal error: linux/acpi_io.h: No such file or directory
 #include <linux/acpi_io.h>
                           ^

Caused by commit a99493647c1a ("Merge branch 'acpi-cleanup' into
linux-next") which incorrectly reintroduced the include of
linux/acpi_io.h.

I have used the pm tree from next-20131217 for today.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 122+ messages in thread
* linux-next: build failure after merge of the pm tree
@ 2013-07-05  1:24 Stephen Rothwell
  2013-07-05  1:37 ` Rafael J. Wysocki
  0 siblings, 1 reply; 122+ messages in thread
From: Stephen Rothwell @ 2013-07-05  1:24 UTC (permalink / raw)
  To: Rafael J. Wysocki; +Cc: linux-next, linux-kernel, Alex Deucher

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

Hi Rafael,

After merging the pm tree, today's linux-next build (x86_64 allmodconfig)
failed like this:

drivers/gpu/drm/radeon/atombios_encoders.c: In function 'radeon_atom_backlight_init':
drivers/gpu/drm/radeon/atombios_encoders.c:230:2: error: implicit declaration of function 'acpi_osi_version' [-Werror=implicit-function-declaration]
  if (acpi_osi_version() >= ACPI_OSI_WIN_8)
  ^
drivers/gpu/drm/radeon/atombios_encoders.c:230:28: error: 'ACPI_OSI_WIN_8' undeclared (first use in this function)
  if (acpi_osi_version() >= ACPI_OSI_WIN_8)
                            ^
drivers/gpu/drm/radeon/atombios_encoders.c:231:3: error: implicit declaration of function 'acpi_video_backlight_unregister' [-Werror=implicit-function-declaration]
   acpi_video_backlight_unregister();
   ^

Caused by commit 1823b2aeccce ("drm/radeon: don't provide ACPI backlight
if firmware expects Windows 8").

I have used the pm tree from next-20130704 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 122+ messages in thread
* linux-next: build failure after merge of the pm tree
@ 2013-03-03 23:58 Stephen Rothwell
  2013-03-04 11:54 ` Rafael J. Wysocki
  0 siblings, 1 reply; 122+ messages in thread
From: Stephen Rothwell @ 2013-03-03 23:58 UTC (permalink / raw)
  To: Rafael J. Wysocki; +Cc: linux-next, linux-kernel

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

Hi Rafael,

After merging the pm tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

drivers/base/power/qos.c: In function '__dev_pm_qos_flags':
drivers/base/power/qos.c:64:2: error: implicit declaration of function 'IS_ERR_OR_NULL' [-Werror=implicit-function-declaration]
drivers/base/power/qos.c: In function 'dev_pm_qos_constraints_destroy':
drivers/base/power/qos.c:248:2: error: implicit declaration of function 'ERR_PTR' [-Werror=implicit-function-declaration]
drivers/base/power/qos.c:248:17: warning: assignment makes pointer from integer without a cast [enabled by default]
drivers/base/power/qos.c: In function 'dev_pm_qos_add_request':
drivers/base/power/qos.c:294:2: error: implicit declaration of function 'IS_ERR' [-Werror=implicit-function-declaration]
drivers/base/power/qos.c: At top level:
drivers/base/power/qos.c:202:13: warning: '__dev_pm_qos_hide_latency_limit' used but never defined [enabled by default]
drivers/base/power/qos.c:203:13: warning: '__dev_pm_qos_hide_flags' used but never defined [enabled by default]

Caused by commit 1e3b5df683e2 ("PM / QoS: Remove device PM QoS sysfs
attributes at the right place").

I have used the pm tree from next-20130301 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 122+ messages in thread
* linux-next: build failure after merge of the pm tree
@ 2013-01-30  8:48 Stephen Rothwell
  2013-01-30 12:50 ` Rafael J. Wysocki
  0 siblings, 1 reply; 122+ messages in thread
From: Stephen Rothwell @ 2013-01-30  8:48 UTC (permalink / raw)
  To: Rafael J. Wysocki; +Cc: linux-next, linux-kernel

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

Hi Rafael,

After merging the pm tree, today's linux-next build (x86_64 allmodconfig)
failed like this:

drivers/built-in.o: In function `ipc_init':
pl320-ipc.c:(.init.text+0xf96b): undefined reference to `amba_driver_register'

Caused by commit 970066f5b269 ("ARM / highbank: add support for pl320 IPC").

I have used the pm tree from next-20130128 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 122+ messages in thread
* linux-next: build failure after merge of the pm tree
@ 2013-01-14  0:03 Stephen Rothwell
  2013-01-14 12:37 ` Rafael J. Wysocki
  2013-01-14 13:22 ` Sedat Dilek
  0 siblings, 2 replies; 122+ messages in thread
From: Stephen Rothwell @ 2013-01-14  0:03 UTC (permalink / raw)
  To: Rafael J. Wysocki; +Cc: linux-next, linux-kernel

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

Hi Rafael,

After merging the pm tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

In file included from init/main.c:25:0:
include/linux/acpi.h:549:46: error: unknown type name 'acpi_handle'
include/linux/acpi.h:551:49: error: unknown type name 'acpi_handle'

and many more.

Caused by commit c9b147cd9648 ("ACPI / PM: Rework the handling of devices
depending on power resources").  Please check with and without CONFIG
options that affect patches ...

I have used the pm tree from next-20130111 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 122+ messages in thread
* linux-next: build failure after merge of the pm tree
@ 2012-11-28  4:02 Stephen Rothwell
  2012-11-28  9:32 ` Rafael J. Wysocki
  0 siblings, 1 reply; 122+ messages in thread
From: Stephen Rothwell @ 2012-11-28  4:02 UTC (permalink / raw)
  To: Rafael J. Wysocki
  Cc: linux-next, linux-kernel, Rajagopal Venkat, MyungJoo Ham

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

Hi Rafael,

After merging the pm tree, today's linux-next build (x86_64 allmodconfig)
failed like this:

ERROR: "devfreq_monitor_resume" [drivers/devfreq/governor_simpleondemand.ko] undefined!
ERROR: "devfreq_monitor_suspend" [drivers/devfreq/governor_simpleondemand.ko] undefined!
ERROR: "devfreq_interval_update" [drivers/devfreq/governor_simpleondemand.ko] undefined!
ERROR: "devfreq_monitor_stop" [drivers/devfreq/governor_simpleondemand.ko] undefined!
ERROR: "devfreq_monitor_start" [drivers/devfreq/governor_simpleondemand.ko] undefined!

Caused by commit 206c30cfeb7c ("PM / devfreq: Add suspend and resume apis").

I have used the pm tree from next-20121127 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 122+ messages in thread
* linux-next: build failure after merge of the pm tree
@ 2012-11-26  6:09 Stephen Rothwell
  2012-11-26 10:10 ` Rafael J. Wysocki
  0 siblings, 1 reply; 122+ messages in thread
From: Stephen Rothwell @ 2012-11-26  6:09 UTC (permalink / raw)
  To: Rafael J. Wysocki; +Cc: linux-next, linux-kernel, Nishanth Menon, MyungJoo Ham

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

Hi Rafael,

After merging the pm tree, today's linux-next build (x86_64 allmodconfig)
failed like this:

drivers/devfreq/governor_simpleondemand.c: In function 'devfreq_simple_ondemand_func':
drivers/devfreq/governor_simpleondemand.c:36:11: error: dereferencing pointer to incomplete type
drivers/devfreq/governor_simpleondemand.c:37:27: error: dereferencing pointer to incomplete type
drivers/devfreq/governor_simpleondemand.c:38:11: error: dereferencing pointer to incomplete type
drivers/devfreq/governor_simpleondemand.c:39:32: error: dereferencing pointer to incomplete type

Caused by commit eff607fdb1f7 ("PM / devfreq: governors: add GPL module
license and allow module build").  The definition of struct
devfreq_simple_ondemand_data depends on
CONFIG_DEVFREQ_GOV_SIMPLE_ONDEMAND, but this is a modular build, so
CONFIG_DEVFREQ_GOV_SIMPLE_ONDEMAND_MODULE is defined instead.

I have used the pm tree fomr next-20121115 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 122+ messages in thread
* linux-next: build failure after merge of the pm tree
@ 2012-09-25  4:30 Stephen Rothwell
  2012-09-25 11:51 ` Rafael J. Wysocki
  0 siblings, 1 reply; 122+ messages in thread
From: Stephen Rothwell @ 2012-09-25  4:30 UTC (permalink / raw)
  To: Rafael J. Wysocki
  Cc: linux-next, linux-kernel, Matthew Garrett, Andre Przywara

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

Hi Rafael,

After merging the pm tree, today's linux-next build (x86_64 allmodconfig)
failed like this:

drivers/cpufreq/powernow-k8.c: In function 'transition_frequency_pstate':
drivers/cpufreq/powernow-k8.c:991:19: error: 'HW_PSTATE_MASK' undeclared (first use in this function)
drivers/cpufreq/powernow-k8.c:991:19: note: each undeclared identifier is reported only once for each function it appears in
drivers/cpufreq/powernow-k8.c:992:19: error: 'struct powernow_k8_data' has no member named 'max_hw_pstate'
drivers/cpufreq/powernow-k8.c:995:2: error: implicit declaration of function 'find_khz_freq_from_pstate' [-Werror=implicit-function-declaration]
drivers/cpufreq/powernow-k8.c:996:8: error: 'struct powernow_k8_data' has no member named 'currpstate'
drivers/cpufreq/powernow-k8.c:1004:2: error: implicit declaration of function 'transition_pstate' [-Werror=implicit-function-declaration]
drivers/cpufreq/powernow-k8.c: At top level:
drivers/cpufreq/powernow-k8.c:981:12: warning: 'transition_frequency_pstate' defined but not used [-Wunused-function]

The code causing this was removed by commit e1f0b8e9b04a ("cpufreq:
Remove support for hardware P-state chips from powernow-k8") but
reintroduced (presumably incorrectly) by commit d20801be3c11 ("Merge
branch 'master' into linux-next").

I have used the pm tree from next-20120924 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 122+ messages in thread
* linux-next: build failure after merge of the pm tree
@ 2012-06-20  5:01 Stephen Rothwell
  2012-06-20 22:54 ` Rafael J. Wysocki
  0 siblings, 1 reply; 122+ messages in thread
From: Stephen Rothwell @ 2012-06-20  5:01 UTC (permalink / raw)
  To: Rafael J. Wysocki
  Cc: linux-next, linux-kernel, Sameer Nanda, Srivatsa S. Bhat

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

Hi Rafael,

After merging the pm tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

drivers/built-in.o:(.toc1+0x37f0): undefined reference to `pm_print_times_enabled'

Caused by commit 0eb8c06cb620 ("PM / Sleep: Separate printing suspend
times from initcall_debug") or maybe 1873ce64491a ("M / Sleep: add knob
for printing device resume times").

I have used the pm tree from next-20120619 for today.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 122+ messages in thread
* linux-next: build failure after merge of the pm tree
@ 2012-01-27  1:53 Stephen Rothwell
  2012-01-27  9:35 ` Rafael J. Wysocki
  0 siblings, 1 reply; 122+ messages in thread
From: Stephen Rothwell @ 2012-01-27  1:53 UTC (permalink / raw)
  To: Rafael J. Wysocki
  Cc: linux-next, linux-kernel, Alex Frid, Antti Miettinen,
	Diwakar Tundlam, Scott Williams, Yu-Huan Hsu, markgross

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

Hi Rafael,

After merging the pm tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

kernel/power/process.c: In function 'thaw_kernel_threads':
kernel/power/process.c:199:2: error: 'g' undeclared (first use in this function)
kernel/power/process.c:199:2: note: each undeclared identifier is reported only once for each function it appears in
kernel/power/process.c:199:2: error: 'p' undeclared (first use in this function)

Caused by commit 625278ca8016 ("PM / QoS: Simplify PM QoS expansion/merge").

Clearly never built :-(  At least, not in this form.

I have used the pm tree from next-20120125 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 122+ messages in thread
* linux-next: build failure after merge of the pm tree
@ 2011-11-10  2:31 Stephen Rothwell
  2011-11-10 12:11 ` Rafael J. Wysocki
  2011-11-11 12:27 ` Rafael J. Wysocki
  0 siblings, 2 replies; 122+ messages in thread
From: Stephen Rothwell @ 2011-11-10  2:31 UTC (permalink / raw)
  To: Rafael J. Wysocki; +Cc: linux-next, linux-kernel, Tejun Heo

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

Hi Rafael,

After merging the pm tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

mm/oom_kill.c: In function 'select_bad_process':
mm/oom_kill.c:326:5: error: implicit declaration of function 'thaw_process'

Caused by commit 944e192db53c ("freezer: rename thaw_process() to
__thaw_task() and simplify the implementation").

I have used the pm tree from next-20111109 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 122+ messages in thread
* linux-next: build failure after merge of the pm tree
@ 2011-09-28  4:51 Stephen Rothwell
  2011-09-28  5:11 ` Ming Lei
  0 siblings, 1 reply; 122+ messages in thread
From: Stephen Rothwell @ 2011-09-28  4:51 UTC (permalink / raw)
  To: Rafael J. Wysocki; +Cc: linux-next, linux-kernel, Ming Lei

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

Hi Rafael,

After merging the pm tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

In file included from include/trace/ftrace.h:567:0,
                 from include/trace/define_trace.h:96,
                 from include/trace/events/rpm.h:99,
                 from kernel/trace/rpm-traces.c:15:
include/trace/events/rpm.h: In function 'ftrace_raw_event_rpm_internal':
include/trace/events/rpm.h:16:1: error: 'struct dev_pm_info' has no member named 'usage_count'
include/trace/events/rpm.h:16:1: error: 'struct dev_pm_info' has no member named 'disable_depth'
include/trace/events/rpm.h:16:1: error: 'struct dev_pm_info' has no member named 'runtime_auto'
include/trace/events/rpm.h:16:1: error: 'struct dev_pm_info' has no member named 'request_pending'
include/trace/events/rpm.h:16:1: error: 'struct dev_pm_info' has no member named 'irq_safe'
include/trace/events/rpm.h:16:1: error: 'struct dev_pm_info' has no member named 'child_count'
In file included from include/trace/ftrace.h:771:0,
                 from include/trace/define_trace.h:96,
                 from include/trace/events/rpm.h:99,
                 from kernel/trace/rpm-traces.c:15:
include/trace/events/rpm.h: In function 'perf_trace_rpm_internal':
include/trace/events/rpm.h:16:1: error: 'struct dev_pm_info' has no member named 'usage_count'
include/trace/events/rpm.h:16:1: error: 'struct dev_pm_info' has no member named 'disable_depth'
include/trace/events/rpm.h:16:1: error: 'struct dev_pm_info' has no member named 'runtime_auto'
include/trace/events/rpm.h:16:1: error: 'struct dev_pm_info' has no member named 'request_pending'
include/trace/events/rpm.h:16:1: error: 'struct dev_pm_info' has no member named 'irq_safe'
include/trace/events/rpm.h:16:1: error: 'struct dev_pm_info' has no member named 'child_count'

Presumably caused by commit 53b615ccca56 ("PM / Runtime: Introduce trace
points for tracing rpm_* functions").

I have used the pm tree from next-20110927 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 122+ messages in thread
* linux-next: build failure after merge of the pm tree
@ 2011-08-19 13:47 Stephen Rothwell
  2011-08-19 21:31 ` Rafael J. Wysocki
  0 siblings, 1 reply; 122+ messages in thread
From: Stephen Rothwell @ 2011-08-19 13:47 UTC (permalink / raw)
  To: Rafael J. Wysocki; +Cc: linux-next, linux-kernel

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

Hi Rafael,

After merging the pm tree, today's linux-next build (most of the arm and
avr32 builds at least) failed like this:

In file included from drivers/base/power/clock_ops.c:14:
include/linux/pm_clock.h:15: error: field 'nb' has incomplete type

You need to include something that defines "struct notifier_block".

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 122+ messages in thread

end of thread, other threads:[~2024-02-08  3:42 UTC | newest]

Thread overview: 122+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-22  1:56 linux-next: build failure after merge of the pm tree Stephen Rothwell
2016-07-22  2:26 ` Steve Muckle
2016-07-22 12:08   ` Rafael J. Wysocki
2016-07-22 12:16     ` Fengguang Wu
  -- strict thread matches above, loose matches on Subject: below --
2024-02-08  3:42 Stephen Rothwell
2024-01-24  0:51 Stephen Rothwell
2024-01-24 15:56 ` Wysocki, Rafael J
2023-12-18 23:37 Stephen Rothwell
2023-11-21  2:46 Stephen Rothwell
2023-07-14  1:00 Stephen Rothwell
2023-07-14 18:19 ` Wysocki, Rafael J
2023-07-14 18:50   ` Rafael J. Wysocki
2023-04-03 10:18 Stephen Rothwell
2023-04-03  1:25 Stephen Rothwell
2023-04-03  1:16 Stephen Rothwell
2023-04-03  1:06 Stephen Rothwell
2022-06-29  0:23 Stephen Rothwell
2022-06-29 13:01 ` Rafael J. Wysocki
2022-04-28  1:00 Stephen Rothwell
2022-04-28  3:07 ` Zhang Rui
2022-04-28  8:53 ` Zhang Rui
2022-04-28  8:56 ` Zhang Rui
2022-04-28 12:32   ` Rafael J. Wysocki
2022-01-04  0:15 Stephen Rothwell
2022-01-04  7:29 ` Heiner Kallweit
2022-01-04  8:02   ` Stephen Rothwell
2022-01-04 14:43     ` Heiner Kallweit
2022-01-04 14:57       ` Rafael J. Wysocki
2021-12-01 23:28 Stephen Rothwell
2021-12-02 10:04 ` Daniel Lezcano
2021-12-03 16:50   ` Rafael J. Wysocki
2021-12-03 17:22     ` Daniel Lezcano
2021-02-05  0:51 Stephen Rothwell
     [not found] ` <CAHp75VfiyAtxg+wqZ30kSzCfFFsLndLjzrUc1njZG0x6vQeyBQ@mail.gmail.com>
2021-02-05 11:15   ` Andy Shevchenko
2021-02-08 19:30     ` Rafael J. Wysocki
2021-02-08 19:47       ` Andy Shevchenko
2021-02-08 19:48         ` Andy Shevchenko
2021-02-09 14:32           ` Rafael J. Wysocki
2021-02-09 16:04             ` Andy Shevchenko
2020-12-09  9:57 Stephen Rothwell
2020-03-17  7:52 Stephen Rothwell
2020-03-18 11:44 ` Stephen Rothwell
2020-03-18 11:52   ` Colin Ian King
2020-03-18 12:18     ` Stephen Rothwell
2020-03-19  5:42       ` Stephen Rothwell
2020-03-19  9:32         ` Rafael J. Wysocki
2019-07-31  5:34 Stephen Rothwell
2019-07-31 10:27 ` Rafael J. Wysocki
2019-07-15  0:02 Stephen Rothwell
2019-07-15  9:44 ` Rafael J. Wysocki
2019-07-04  9:41 Stephen Rothwell
2019-07-04  9:48 ` Viresh Kumar
2019-07-04 10:33   ` Rafael J. Wysocki
2019-07-01  3:37 Stephen Rothwell
2019-07-01  7:48 ` Viresh Kumar
2018-05-24 14:16 Mark Brown
2016-09-14  4:27 Stephen Rothwell
2016-09-14 21:38 ` Rafael J. Wysocki
2016-07-11  1:46 Stephen Rothwell
2016-07-11  4:48 ` Mika Westerberg
2016-07-11  5:29   ` Stephen Rothwell
2016-07-11 12:57     ` Rafael J. Wysocki
2016-06-02  2:12 Stephen Rothwell
2016-04-01  1:27 Stephen Rothwell
2016-04-01 20:51 ` Rafael J. Wysocki
2015-12-09  1:54 Stephen Rothwell
2015-12-09  2:00 ` Viresh Kumar
2015-11-01  6:57 Stephen Rothwell
2015-11-02  0:37 ` Rafael J. Wysocki
2015-04-13  4:24 Stephen Rothwell
2015-04-13 12:06 ` Rafael J. Wysocki
2015-04-15  2:30 ` Stephen Rothwell
2015-02-09  2:26 Stephen Rothwell
2015-02-09  2:53 ` Jiang Liu
2015-02-09  3:22   ` Rafael J. Wysocki
2015-02-09  5:36     ` Jiang Liu
2015-02-09  6:23       ` Lorenzo Pieralisi
2015-02-09 15:10         ` Rafael J. Wysocki
2015-02-09 15:21           ` Jiang Liu
2015-02-09 15:50             ` Lorenzo Pieralisi
2015-02-09  3:19 ` Rafael J. Wysocki
2015-02-09  3:53   ` Lorenzo Pieralisi
2014-08-11  1:57 Stephen Rothwell
2014-08-12  1:10 ` Rafael J. Wysocki
2013-12-18  1:00 Stephen Rothwell
2013-12-18  1:17 ` Rafael J. Wysocki
2013-07-05  1:24 Stephen Rothwell
2013-07-05  1:37 ` Rafael J. Wysocki
2013-03-03 23:58 Stephen Rothwell
2013-03-04 11:54 ` Rafael J. Wysocki
2013-01-30  8:48 Stephen Rothwell
2013-01-30 12:50 ` Rafael J. Wysocki
2013-01-14  0:03 Stephen Rothwell
2013-01-14 12:37 ` Rafael J. Wysocki
2013-01-14 13:22 ` Sedat Dilek
2013-01-14 18:54   ` Rafael J. Wysocki
2012-11-28  4:02 Stephen Rothwell
2012-11-28  9:32 ` Rafael J. Wysocki
2012-11-26  6:09 Stephen Rothwell
2012-11-26 10:10 ` Rafael J. Wysocki
2012-09-25  4:30 Stephen Rothwell
2012-09-25 11:51 ` Rafael J. Wysocki
2012-06-20  5:01 Stephen Rothwell
2012-06-20 22:54 ` Rafael J. Wysocki
2012-01-27  1:53 Stephen Rothwell
2012-01-27  9:35 ` Rafael J. Wysocki
2011-11-10  2:31 Stephen Rothwell
2011-11-10 12:11 ` Rafael J. Wysocki
2011-11-10 15:48   ` Tejun Heo
2011-11-11 12:27 ` Rafael J. Wysocki
2011-09-28  4:51 Stephen Rothwell
2011-09-28  5:11 ` Ming Lei
2011-09-28 13:58   ` Rafael J. Wysocki
2011-09-28 14:47     ` Ming Lei
2011-09-28 19:32       ` Rafael J. Wysocki
2011-09-29  1:32         ` Ming Lei
2011-09-29  9:26           ` Rafael J. Wysocki
2011-09-29  9:32             ` Ming Lei
2011-09-29 20:25               ` Rafael J. Wysocki
2011-09-28 14:47     ` Rafael J. Wysocki
2011-08-19 13:47 Stephen Rothwell
2011-08-19 21:31 ` Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).