Skip to contentSkip to conversation

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

PATCH Stephen Rothwell 3 participants 5 messages Jun 20, 2014 – Sep 22, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi Greg,

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

drivers/staging/board/board.c: In function 'find_by_address':
drivers/staging/board/board.c:14:3: error: implicit declaration of function 'of_can_translate_address' [-Werror=implicit-function-declaration]
if (of_can_translate_address(dn)
^

Caused by commit 382063d91e15 ("staging: board: Initial board staging support").

I have disabled that driver for today.

From: Stephen Rothwell <[email protected]>
Date: Fri, 20 Jun 2014 14:14:17 +1000
Subject: [PATCH] staging: board: disable

---
 drivers/staging/board/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/staging/board/Kconfig +1 -0
index 09d94b48c9c9..7eda0b8b7aab 100644
@@ -1,6 +1,7 @@
 config STAGING_BOARD
 	boolean "Staging Board Support"
 	depends on OF_ADDRESS
+	depends on BROKEN
 	help
 	  Select to enable per-board staging support code.
 
Signature · 5 lines
2.0.0

-- 
Cheers,
Stephen Rothwell                    [email protected]
#1 lore raw
Quoted 29 lines · Stephen Rothwell

Hi Greg,

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

drivers/staging/board/board.c: In function 'find_by_address':
drivers/staging/board/board.c:14:3: error: implicit declaration of function 'of_can_translate_address' [-Werror=implicit-function-declaration]
if (of_can_translate_address(dn)
^

Caused by commit 382063d91e15 ("staging: board: Initial board staging support").

I have disabled that driver for today.

From: Stephen Rothwell <[email protected]>
Date: Fri, 20 Jun 2014 14:14:17 +1000
Subject: [PATCH] staging: board: disable

---
 drivers/staging/board/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/staging/board/Kconfig +0 -0
index 09d94b48c9c9..7eda0b8b7aab 100644

drivers/staging/board/Kconfig line 7

Quoted 7 lines
drivers/staging/board/Kconfig +1 -0
@@ -1,6 +1,7 @@
 config STAGING_BOARD
 	boolean "Staging Board Support"
 	depends on OF_ADDRESS
+	depends on BROKEN
 	help
 	  Select to enable per-board staging support code.
 

Magnus, can you send me a proper patch for this to get the code back to building condition?

thanks,

greg k-h

#2 lore raw

Hi Greg,

Quoted 26 lines · On Fri, 20 Jun 2014 09:53:53 -0700 Greg KH <[email protected]> wrote:
Quoted 24 lines · Stephen Rothwell

Hi Greg,

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

drivers/staging/board/board.c: In function 'find_by_address':
drivers/staging/board/board.c:14:3: error: implicit declaration of function 'of_can_translate_address' [-Werror=implicit-function-declaration]
if (of_can_translate_address(dn)
^

Caused by commit 382063d91e15 ("staging: board: Initial board staging support").

I have disabled that driver for today.

From: Stephen Rothwell <[email protected]>
Date: Fri, 20 Jun 2014 14:14:17 +1000
Subject: [PATCH] staging: board: disable

---
 drivers/staging/board/Kconfig | 1 +
 1 file changed, 1 insertion(+)
Quoted 15 lines

drivers/staging/board/Kconfig line 7

Quoted 12 lines
drivers/staging/board/Kconfig +1 -0
index 09d94b48c9c9..7eda0b8b7aab 100644
@@ -1,6 +1,7 @@
 config STAGING_BOARD
 	boolean "Staging Board Support"
 	depends on OF_ADDRESS
+	depends on BROKEN
 	help
 	  Select to enable per-board staging support code.
 

Magnus, can you send me a proper patch for this to get the code back to building condition?

Ping?

Signature · 2 lines
Cheers,
Stephen Rothwell                    [email protected]
#3 lore raw
Quoted 45 lines · Stephen Rothwell

Hi Greg,

Quoted 26 lines · On Fri, 20 Jun 2014 09:53:53 -0700 Greg KH <[email protected]> wrote:
Quoted 24 lines · Stephen Rothwell

Hi Greg,

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

drivers/staging/board/board.c: In function 'find_by_address':
drivers/staging/board/board.c:14:3: error: implicit declaration of function 'of_can_translate_address' [-Werror=implicit-function-declaration]
if (of_can_translate_address(dn)
^

Caused by commit 382063d91e15 ("staging: board: Initial board staging support").

I have disabled that driver for today.

From: Stephen Rothwell <[email protected]>
Date: Fri, 20 Jun 2014 14:14:17 +1000
Subject: [PATCH] staging: board: disable

---
 drivers/staging/board/Kconfig | 1 +
 1 file changed, 1 insertion(+)
Quoted 15 lines

drivers/staging/board/Kconfig line 7

Quoted 12 lines
drivers/staging/board/Kconfig +1 -0
index 09d94b48c9c9..7eda0b8b7aab 100644
@@ -1,6 +1,7 @@
 config STAGING_BOARD
 	boolean "Staging Board Support"
 	depends on OF_ADDRESS
+	depends on BROKEN
 	help
 	  Select to enable per-board staging support code.
 

Magnus, can you send me a proper patch for this to get the code back to building condition?

Quoted 1 line

Ping?

Magnus went quiet...

Magnus?

#4 lore raw
In reply to Stephen Rothwell
Quoted 10 lines · Stephen Rothwell

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

drivers/staging/board/board.c: In function 'find_by_address':
drivers/staging/board/board.c:14:3: error: implicit declaration of function 'of_can_translate_address' [-Werror=implicit-function-declaration]
if (of_can_translate_address(dn)
^

Caused by commit 382063d91e15 ("staging: board: Initial board staging support").

Or by commit d9c6866be8a145e32da616d8dcbae806032d75b5

Author: Rob Herring <[email protected]>
Date:   Wed May 7 15:23:56 2014 -0500

of: kill off of_can_translate_address

;-)

Quoted 24 lines

I have disabled that driver for today.

From: Stephen Rothwell <[email protected]>
Date: Fri, 20 Jun 2014 14:14:17 +1000
Subject: [PATCH] staging: board: disable

---
 drivers/staging/board/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/staging/board/Kconfig +1 -1
index 09d94b48c9c9..7eda0b8b7aab 100644
@@ -1,6 +1,7 @@
 config STAGING_BOARD
        boolean "Staging Board Support"
        depends on OF_ADDRESS
+       depends on BROKEN
        help
          Select to enable per-board staging support code.
 
--
Quoted 1 line

2.0.0

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds