Skip to contentSkip to conversation

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

PATCH Stephen Rothwell 3 participants 3 messages Mar 3, 2020

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

Hi all,

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

ld: drivers/thermal/imx_sc_thermal.o: in function `.imx_sc_thermal_get_temp':
imx_sc_thermal.c:(.text.imx_sc_thermal_get_temp+0x68): undefined reference to `.imx_scu_call_rpc'
ld: drivers/thermal/imx_sc_thermal.o: in function `.imx_sc_thermal_probe':
imx_sc_thermal.c:(.text.imx_sc_thermal_probe+0x30): undefined reference to `.imx_scu_get_handle'

Caused by commit

ed0843633fee ("thermal: imx_sc: add i.MX system controller thermal support")

I have added the following patch for today.

From: Stephen Rothwell <[email protected]>
Date: Tue, 3 Mar 2020 16:52:49 +1100
Subject: [PATCH] thermal: imx_sc: remove COMPILE_TEST from IMX_SC_THERMAL

---
 drivers/thermal/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/thermal/Kconfig +1 -1
index 478eda79520d..f3f70503df04 100644
@@ -254,7 +254,7 @@ config IMX_THERMAL
 
 config IMX_SC_THERMAL
 	tristate "Temperature sensor driver for NXP i.MX SoCs with System Controller"
-	depends on IMX_SCU || COMPILE_TEST
+	depends on IMX_SCU
 	depends on OF
 	help
 	  Support for Temperature Monitor (TEMPMON) found on NXP i.MX SoCs with
Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw

Hi Anson,

could be please fix those two errors (this one and the thermal_zone_of_get_sensor_id)

Thanks

-- Daniel

Quoted 39 lines · Stephen Rothwell

Hi all,

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

ld: drivers/thermal/imx_sc_thermal.o: in function `.imx_sc_thermal_get_temp':
imx_sc_thermal.c:(.text.imx_sc_thermal_get_temp+0x68): undefined reference to `.imx_scu_call_rpc'
ld: drivers/thermal/imx_sc_thermal.o: in function `.imx_sc_thermal_probe':
imx_sc_thermal.c:(.text.imx_sc_thermal_probe+0x30): undefined reference to `.imx_scu_get_handle'

Caused by commit

ed0843633fee ("thermal: imx_sc: add i.MX system controller thermal support")

I have added the following patch for today.

From: Stephen Rothwell <[email protected]>
Date: Tue, 3 Mar 2020 16:52:49 +1100
Subject: [PATCH] thermal: imx_sc: remove COMPILE_TEST from IMX_SC_THERMAL

---
 drivers/thermal/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/thermal/Kconfig +1 -1
index 478eda79520d..f3f70503df04 100644
@@ -254,7 +254,7 @@ config IMX_THERMAL
 
 config IMX_SC_THERMAL
 	tristate "Temperature sensor driver for NXP i.MX SoCs with System Controller"
-	depends on IMX_SCU || COMPILE_TEST
+	depends on IMX_SCU
 	depends on OF
 	help
 	  Support for Temperature Monitor (TEMPMON) found on NXP i.MX SoCs with
Signature · 5 lines
 <http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
#2 lore raw

Hi, Daniel

Quoted 7 lines

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

Hi Anson,

could be please fix those two errors (this one and the thermal_zone_of_get_sensor_id)

Sure, I will fix them and send out patch for review.

Thanks,
Anson

Quoted 62 lines

Thanks

-- Daniel

Quoted 6 lines · Stephen Rothwell

Hi all,

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

ld: drivers/thermal/imx_sc_thermal.o: in function

`.imx_sc_thermal_get_temp':

Quoted 1 line

imx_sc_thermal.c:(.text.imx_sc_thermal_get_temp+0x68): undefined

reference to `.imx_scu_call_rpc'

Quoted 2 lines

ld: drivers/thermal/imx_sc_thermal.o: in function `.imx_sc_thermal_probe':
imx_sc_thermal.c:(.text.imx_sc_thermal_probe+0x30): undefined

reference to `.imx_scu_get_handle'

Quoted 23 lines

Caused by commit

ed0843633fee ("thermal: imx_sc: add i.MX system controller thermal
support")

I have added the following patch for today.

From: Stephen Rothwell <[email protected]>
Date: Tue, 3 Mar 2020 16:52:49 +1100
Subject: [PATCH] thermal: imx_sc: remove COMPILE_TEST from IMX_SC_THERMAL

---
 drivers/thermal/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/thermal/Kconfig index renamed from drivers/thermal/Kconfig +0 -0

478eda79520d..f3f70503df04 100644

drivers/thermal/Kconfig config IMX_THERMAL · line 256

Quoted 3 lines
drivers/thermal/Kconfig +0 -0
@@ -254,7 +254,7 @@ config IMX_THERMAL
 
 config IMX_SC_THERMAL
 	tristate "Temperature sensor driver for NXP i.MX SoCs with System

Controller"

drivers/thermal/Kconfig config IMX_THERMAL

Quoted 5 lines
drivers/thermal/Kconfig +1 -1
-	depends on IMX_SCU || COMPILE_TEST
+	depends on IMX_SCU
 	depends on OF
 	help
 	  Support for Temperature Monitor (TEMPMON) found on NXP i.MX

SoCs

Quoted 2 lines

with

--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter | <http://www.linaro.org/linaro-
blog/> Blog