All of lore.kernel.org
 help / color / mirror / Atom feed
* linux-next: build failure after merge of the sunxi tree
@ 2016-10-25  0:26 Stephen Rothwell
  2016-10-25 10:41 ` Maxime Ripard
  0 siblings, 1 reply; 24+ messages in thread
From: Stephen Rothwell @ 2016-10-25  0:26 UTC (permalink / raw)
  To: Maxime Ripard; +Cc: linux-next, linux-kernel

Hi Maxime,

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

ERROR (phandle_references): Reference to non-existent node or label "pwm1_pins_a"
ERROR: Input tree has errors, aborting (use -f to force output)
scripts/Makefile.lib:313: recipe for target 'arch/arm/boot/dts/ntc-gr8-chip-pro.dtb' failed

Caused by commit

  f49f86fa3b49 ("ARM: gr8: Add CHIP Pro support")

I have used the sunxi tree from next-20161024 for today.

-- 
Cheers,
Stephen Rothwell

^ permalink raw reply	[flat|nested] 24+ messages in thread
* linux-next: build failure after merge of the sunxi tree
@ 2021-11-22 23:27 Stephen Rothwell
  2021-11-23  9:31 ` Maxime Ripard
  0 siblings, 1 reply; 24+ messages in thread
From: Stephen Rothwell @ 2021-11-22 23:27 UTC (permalink / raw)
  To: Maxime Ripard, Chen-Yu Tsai
  Cc: Samuel Holland, Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

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

drivers/clk/sunxi-ng/ccu-suniv-f1c100s.c: In function 'suniv_f1c100s_ccu_setup':
drivers/clk/sunxi-ng/ccu-suniv-f1c100s.c:532:39: error: 'pdev' undeclared (first use in this function)
  532 |  reg = devm_platform_ioremap_resource(pdev, 0);
      |                                       ^~~~
drivers/clk/sunxi-ng/ccu-suniv-f1c100s.c:532:39: note: each undeclared identifier is reported only once for each function it appears in
drivers/clk/sunxi-ng/ccu-suniv-f1c100s.c:534:10: error: 'return' with a value, in function returning void [-Werror=return-type]
  534 |   return PTR_ERR(reg);
      |          ^~~~~~~~~~~~
drivers/clk/sunxi-ng/ccu-suniv-f1c100s.c:526:20: note: declared here
  526 | static void __init suniv_f1c100s_ccu_setup(struct device_node *node)
      |                    ^~~~~~~~~~~~~~~~~~~~~~~
drivers/clk/sunxi-ng/ccu-suniv-f1c100s.c:543:10: error: 'return' with a value, in function returning void [-Werror=return-type]
  543 |   return ret;
      |          ^~~
drivers/clk/sunxi-ng/ccu-suniv-f1c100s.c:526:20: note: declared here
  526 | static void __init suniv_f1c100s_ccu_setup(struct device_node *node)
      |                    ^~~~~~~~~~~~~~~~~~~~~~~
drivers/clk/sunxi-ng/ccu-suniv-f1c100s.c:552:9: error: 'return' with a value, in function returning void [-Werror=return-type]
  552 |  return 0;
      |         ^
drivers/clk/sunxi-ng/ccu-suniv-f1c100s.c:526:20: note: declared here
  526 | static void __init suniv_f1c100s_ccu_setup(struct device_node *node)
      |                    ^~~~~~~~~~~~~~~~~~~~~~~
drivers/clk/sunxi-ng/ccu-suniv-f1c100s.c: At top level:
drivers/clk/sunxi-ng/ccu-suniv-f1c100s.c:561:11: error: 'suniv_f1c100s_ccu_probe' undeclared here (not in a function); did you mean 'suniv_f1c100s_ccu_driver'?
  561 |  .probe = suniv_f1c100s_ccu_probe,
      |           ^~~~~~~~~~~~~~~~~~~~~~~
      |           suniv_f1c100s_ccu_driver
drivers/clk/sunxi-ng/ccu-suniv-f1c100s.c:526:20: error: 'suniv_f1c100s_ccu_setup' defined but not used [-Werror=unused-function]
  526 | static void __init suniv_f1c100s_ccu_setup(struct device_node *node)
      |                    ^~~~~~~~~~~~~~~~~~~~~~~

Caused by commit

  72dc8e122383 ("clk: sunxi-ng: Convert early providers to platform drivers")

I have used the sunxi tree from next-20211118 for today.

-- 
Cheers,
Stephen Rothwell

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

^ permalink raw reply	[flat|nested] 24+ messages in thread
* linux-next: build failure after merge of the sunxi tree
@ 2020-10-26 23:42 Stephen Rothwell
  2020-10-27 15:28 ` Maxime Ripard
  0 siblings, 1 reply; 24+ messages in thread
From: Stephen Rothwell @ 2020-10-26 23:42 UTC (permalink / raw)
  To: Maxime Ripard, Chen-Yu Tsai
  Cc: Yu-Tung Chang, Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

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

arch/arm/boot/dts/sun8i-h3-zeropi.dts:53.25-63.4: ERROR (phandle_references): /gmac-3v3: Reference to non-existent node or label "gmac_power_pin_nanopi"

ERROR: Input tree has errors, aborting (use -f to force output)

Caused by commit

  89cfb6d76fdc ("ARM: dts: sun8i: add FriendlyArm ZeroPi support")

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] 24+ messages in thread
* linux-next: build failure after merge of the sunxi tree
@ 2020-01-06 22:20 Stephen Rothwell
  2020-01-06 22:27 ` Maxime Ripard
  0 siblings, 1 reply; 24+ messages in thread
From: Stephen Rothwell @ 2020-01-06 22:20 UTC (permalink / raw)
  To: Maxime Ripard, Chen-Yu Tsai
  Cc: Linux Next Mailing List, Linux Kernel Mailing List, Andre Przywara

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

Hi all,

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

arch/arm/boot/dts/sun8i-r40.dtsi:656.21-669.5: ERROR (phandle_references): /soc/spi@1c05000: Reference to non-existent node or label "dma"
arch/arm/boot/dts/sun8i-r40.dtsi:656.21-669.5: ERROR (phandle_references): /soc/spi@1c05000: Reference to non-existent node or label "dma"
arch/arm/boot/dts/sun8i-r40.dtsi:671.21-684.5: ERROR (phandle_references): /soc/spi@1c06000: Reference to non-existent node or label "dma"
arch/arm/boot/dts/sun8i-r40.dtsi:671.21-684.5: ERROR (phandle_references): /soc/spi@1c06000: Reference to non-existent node or label "dma"
arch/arm/boot/dts/sun8i-r40.dtsi:686.21-699.5: ERROR (phandle_references): /soc/spi@1c07000: Reference to non-existent node or label "dma"
arch/arm/boot/dts/sun8i-r40.dtsi:686.21-699.5: ERROR (phandle_references): /soc/spi@1c07000: Reference to non-existent node or label "dma"
arch/arm/boot/dts/sun8i-r40.dtsi:701.21-714.5: ERROR (phandle_references): /soc/spi@1c0f000: Reference to non-existent node or label "dma"
arch/arm/boot/dts/sun8i-r40.dtsi:701.21-714.5: ERROR (phandle_references): /soc/spi@1c0f000: Reference to non-existent node or label "dma"
ERROR: Input tree has errors, aborting (use -f to force output)
make[2]: *** [scripts/Makefile.lib:292: arch/arm/boot/dts/sun8i-v40-bananapi-m2-berry.dtb] Error 2
arch/arm/boot/dts/sun8i-r40.dtsi:656.21-669.5: ERROR (phandle_references): /soc/spi@1c05000: Reference to non-existent node or label "dma"
arch/arm/boot/dts/sun8i-r40.dtsi:656.21-669.5: ERROR (phandle_references): /soc/spi@1c05000: Reference to non-existent node or label "dma"
arch/arm/boot/dts/sun8i-r40.dtsi:671.21-684.5: ERROR (phandle_references): /soc/spi@1c06000: Reference to non-existent node or label "dma"
arch/arm/boot/dts/sun8i-r40.dtsi:671.21-684.5: ERROR (phandle_references): /soc/spi@1c06000: Reference to non-existent node or label "dma"
arch/arm/boot/dts/sun8i-r40.dtsi:686.21-699.5: ERROR (phandle_references): /soc/spi@1c07000: Reference to non-existent node or label "dma"
arch/arm/boot/dts/sun8i-r40.dtsi:686.21-699.5: ERROR (phandle_references): /soc/spi@1c07000: Reference to non-existent node or label "dma"
arch/arm/boot/dts/sun8i-r40.dtsi:701.21-714.5: ERROR (phandle_references): /soc/spi@1c0f000: Reference to non-existent node or label "dma"
arch/arm/boot/dts/sun8i-r40.dtsi:701.21-714.5: ERROR (phandle_references): /soc/spi@1c0f000: Reference to non-existent node or label "dma"
ERROR: Input tree has errors, aborting (use -f to force output)
make[2]: *** [scripts/Makefile.lib:292: arch/arm/boot/dts/sun8i-r40-bananapi-m2-ultra.dtb] Error 2
arch/arm/boot/dts/sun8i-r40.dtsi:656.21-669.5: ERROR (phandle_references): /soc/spi@1c05000: Reference to non-existent node or label "dma"
arch/arm/boot/dts/sun8i-r40.dtsi:656.21-669.5: ERROR (phandle_references): /soc/spi@1c05000: Reference to non-existent node or label "dma"
arch/arm/boot/dts/sun8i-r40.dtsi:671.21-684.5: ERROR (phandle_references): /soc/spi@1c06000: Reference to non-existent node or label "dma"
arch/arm/boot/dts/sun8i-r40.dtsi:671.21-684.5: ERROR (phandle_references): /soc/spi@1c06000: Reference to non-existent node or label "dma"
arch/arm/boot/dts/sun8i-r40.dtsi:686.21-699.5: ERROR (phandle_references): /soc/spi@1c07000: Reference to non-existent node or label "dma"
arch/arm/boot/dts/sun8i-r40.dtsi:686.21-699.5: ERROR (phandle_references): /soc/spi@1c07000: Reference to non-existent node or label "dma"
arch/arm/boot/dts/sun8i-r40.dtsi:701.21-714.5: ERROR (phandle_references): /soc/spi@1c0f000: Reference to non-existent node or label "dma"
arch/arm/boot/dts/sun8i-r40.dtsi:701.21-714.5: ERROR (phandle_references): /soc/spi@1c0f000: Reference to non-existent node or label "dma"
ERROR: Input tree has errors, aborting (use -f to force output)
make[2]: *** [scripts/Makefile.lib:292: arch/arm/boot/dts/sun8i-t3-cqa3t-bv3.dtb] Error 2

I am not sure which commits caused this.  I have used the sunxi tree
from next-20200106 for today.

-- 
Cheers,
Stephen Rothwell

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

^ permalink raw reply	[flat|nested] 24+ messages in thread
* linux-next: build failure after merge of the sunxi tree
@ 2018-06-27 22:42 Stephen Rothwell
  0 siblings, 0 replies; 24+ messages in thread
From: Stephen Rothwell @ 2018-06-27 22:42 UTC (permalink / raw)
  To: Maxime Ripard, Chen-Yu Tsai
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List, Jernej Skrabec

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

Hi all,

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

In file included from arch/arm/boot/dts/sun8i-r40-bananapi-m2-ultra.dts:45:0:
arch/arm/boot/dts/sun8i-r40.dtsi:47:10: fatal error: dt-bindings/clock/sun8i-tcon-top.h: No such file or directory
 #include <dt-bindings/clock/sun8i-tcon-top.h>
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from arch/arm/boot/dts/sun8i-v40-bananapi-m2-berry.dts:44:0:
arch/arm/boot/dts/sun8i-r40.dtsi:47:10: fatal error: dt-bindings/clock/sun8i-tcon-top.h: No such file or directory
 #include <dt-bindings/clock/sun8i-tcon-top.h>
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Caused by commit

  2324106f7e43 ("ARM: dts: sun8i: r40: Add HDMI pipeline")

I have used the sunxi tree from next-20180627 for today.

-- 
Cheers,
Stephen Rothwell

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

^ permalink raw reply	[flat|nested] 24+ messages in thread
* linux-next: build failure after merge of the sunxi tree
@ 2018-03-07 22:35 Stephen Rothwell
  2018-03-08  2:37 ` Emmanuel Vadot
  0 siblings, 1 reply; 24+ messages in thread
From: Stephen Rothwell @ 2018-03-07 22:35 UTC (permalink / raw)
  To: Maxime Ripard, Chen-Yu Tsai
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List, Emmanuel Vadot

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

Hi all,

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

arch/arm/boot/dts/sun8i-h3-nanopi-m1-plus.dtb: ERROR (phandle_references): Reference to non-existent node or label "mmc2_8bits_pins"

Caused by commit

  89fd776b2b9f ("dts: sunxi: Add eMMC for NanoPi M1 Plus")

I have merged the version of the sunxi tree from next-20180307 for today.

-- 
Cheers,
Stephen Rothwell

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

^ permalink raw reply	[flat|nested] 24+ messages in thread
* linux-next: build failure after merge of the sunxi tree
@ 2017-10-31 20:43 Stephen Rothwell
  2017-11-01  7:57 ` Corentin Labbe
  0 siblings, 1 reply; 24+ messages in thread
From: Stephen Rothwell @ 2017-10-31 20:43 UTC (permalink / raw)
  To: Maxime Ripard, Chen-Yu Tsai
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List, Corentin Labbe

Hi all,

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

arch/arm/boot/dts/sun8i-h3-nanopi-m1-plus.dtb: ERROR (phandle_references): Reference to non-existent node or label "reg_gmac_3v3"

ERROR: Input tree has errors, aborting (use -f to force output)

Caused by commit

  547a66779cbd ("ARM: dts: sunxi: Restore EMAC changes (boards)")

I have used the sunxi tree from next-20171018 for today.

-- 
Cheers,
Stephen Rothwell

^ permalink raw reply	[flat|nested] 24+ messages in thread
* linux-next: build failure after merge of the sunxi tree
@ 2017-03-07  0:10 ` Stephen Rothwell
  0 siblings, 0 replies; 24+ messages in thread
From: Stephen Rothwell @ 2017-03-07  0:10 UTC (permalink / raw)
  To: Maxime Ripard, Daniel Vetter, Intel Graphics, DRI
  Cc: linux-next, linux-kernel, Shawn Guo, Chen-Yu Tsai

Hi all,

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

drivers/gpu/drm/sun4i/sun4i_crtc.c: In function 'sun4i_crtc_enable_vblank':
drivers/gpu/drm/sun4i/sun4i_crtc.c:109:31: error: 'struct sun4i_crtc' has no member named 'drv'
  struct sun4i_drv *drv = scrtc->drv;
                               ^
drivers/gpu/drm/sun4i/sun4i_crtc.c: In function 'sun4i_crtc_disable_vblank':
drivers/gpu/drm/sun4i/sun4i_crtc.c:121:31: error: 'struct sun4i_crtc' has no member named 'drv'
  struct sun4i_drv *drv = scrtc->drv;
                               ^

Caused by commit

  50480a78e282 ("drm: sun4i: use vblank hooks in struct drm_crtc_funcs")

from the drm-misc tree interacting with commit

  1b8d109585df ("drm/sun4i: Add backend and tcon pointers to sun4i_crtc")

from the sunxi tree.

I added this merge fix patch:

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Tue, 7 Mar 2017 11:06:45 +1100
Subject: [PATCH] drm: sun4i: fixup for struct sun4i_crtc changes

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

diff --git a/drivers/gpu/drm/sun4i/sun4i_crtc.c b/drivers/gpu/drm/sun4i/sun4i_crtc.c
index a1634ff6eb40..7bbcedff9f07 100644
--- a/drivers/gpu/drm/sun4i/sun4i_crtc.c
+++ b/drivers/gpu/drm/sun4i/sun4i_crtc.c
@@ -106,11 +106,10 @@ static const struct drm_crtc_helper_funcs sun4i_crtc_helper_funcs = {
 static int sun4i_crtc_enable_vblank(struct drm_crtc *crtc)
 {
 	struct sun4i_crtc *scrtc = drm_crtc_to_sun4i_crtc(crtc);
-	struct sun4i_drv *drv = scrtc->drv;
 
 	DRM_DEBUG_DRIVER("Enabling VBLANK on crtc %p\n", crtc);
 
-	sun4i_tcon_enable_vblank(drv->tcon, true);
+	sun4i_tcon_enable_vblank(scrtc->tcon, true);
 
 	return 0;
 }
@@ -118,11 +117,10 @@ static int sun4i_crtc_enable_vblank(struct drm_crtc *crtc)
 static void sun4i_crtc_disable_vblank(struct drm_crtc *crtc)
 {
 	struct sun4i_crtc *scrtc = drm_crtc_to_sun4i_crtc(crtc);
-	struct sun4i_drv *drv = scrtc->drv;
 
 	DRM_DEBUG_DRIVER("Disabling VBLANK on crtc %p\n", crtc);
 
-	sun4i_tcon_enable_vblank(drv->tcon, false);
+	sun4i_tcon_enable_vblank(scrtc->tcon, false);
 }
 
 static const struct drm_crtc_funcs sun4i_crtc_funcs = {
-- 
2.11.0

-- 
Cheers,
Stephen Rothwell

^ permalink raw reply related	[flat|nested] 24+ messages in thread
* linux-next: build failure after merge of the sunxi tree
@ 2016-02-04 23:14 Stephen Rothwell
  2016-02-05  9:10 ` Maxime Ripard
  0 siblings, 1 reply; 24+ messages in thread
From: Stephen Rothwell @ 2016-02-04 23:14 UTC (permalink / raw)
  To: Maxime Ripard; +Cc: linux-next, linux-kernel

Hi Maxime,

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

drivers/clk/sunxi/clk-sunxi.c: In function 'sunxi_mux_clk_setup':
drivers/clk/sunxi/clk-sunxi.c:712:2: warning: 'return' with no value, in function returning non-void [-Wreturn-type]
  return;
  ^
drivers/clk/sunxi/clk-sunxi.c:718:20: error: invalid storage class for function 'sun4i_cpu_clk_setup'
 static void __init sun4i_cpu_clk_setup(struct device_node *node)
                    ^
drivers/clk/sunxi/clk-sunxi.c:718:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
 static void __init sun4i_cpu_clk_setup(struct device_node *node)
 ^
In file included from include/linux/clk-provider.h:15:0,
                 from drivers/clk/sunxi/clk-sunxi.c:18:
include/linux/of.h:937:16: error: initializer element is not constant
        .data = (fn == (fn_type)NULL) ? fn : fn  }
                ^
include/linux/of.h:950:3: note: in expansion of macro '_OF_DECLARE'
   _OF_DECLARE(table, name, compat, fn, of_init_fn_1)
   ^

and on and on ...

Caused by commit

  1190461d5ad8 ("clk: sunxi: Remove clk_register_clkdev calls")

I have used the sunxi tree from next-20160204 for today.

-- 
Cheers,
Stephen Rothwell

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

end of thread, other threads:[~2021-11-23  9:31 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-25  0:26 linux-next: build failure after merge of the sunxi tree Stephen Rothwell
2016-10-25 10:41 ` Maxime Ripard
  -- strict thread matches above, loose matches on Subject: below --
2021-11-22 23:27 Stephen Rothwell
2021-11-23  9:31 ` Maxime Ripard
2020-10-26 23:42 Stephen Rothwell
2020-10-27 15:28 ` Maxime Ripard
2020-01-06 22:20 Stephen Rothwell
2020-01-06 22:27 ` Maxime Ripard
2018-06-27 22:42 Stephen Rothwell
2018-03-07 22:35 Stephen Rothwell
2018-03-08  2:37 ` Emmanuel Vadot
2018-03-08  3:19   ` Chen-Yu Tsai
2017-10-31 20:43 Stephen Rothwell
2017-11-01  7:57 ` Corentin Labbe
2017-03-07  0:10 Stephen Rothwell
2017-03-07  0:10 ` Stephen Rothwell
2017-03-07 21:39 ` Maxime Ripard
2017-03-07 21:39   ` Maxime Ripard
2017-03-08  8:26   ` Jani Nikula
2017-03-08  8:26     ` Jani Nikula
2017-03-08  9:49     ` Daniel Vetter
2017-03-08  9:49       ` Daniel Vetter
2016-02-04 23:14 Stephen Rothwell
2016-02-05  9:10 ` Maxime Ripard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.