Skip to contentSkip to conversation

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

PATCH Stephen Rothwell 1 participant 1 message Dec 16, 2018

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

Hi Guenter,

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

drivers/hwmon/Kconfig:1298:warning: ignoring unsupported character '/' drivers/hwmon/Kconfig:1299: syntax error drivers/hwmon/Kconfig:1298:warning: ignoring unsupported character '/' drivers/hwmon/Kconfig:1298:warning: ignoring unsupported character '/' drivers/hwmon/Kconfig:1298: invalid statement

Caused by commit

de75c2156b2f ("hwmon: Add On-Chip Controller (OCC) hwmon driver")

interacting with updates to the kconfig system.

I have applied the following merge fix patch for today.

From: Stephen Rothwell <[email protected]>
Date: Mon, 17 Dec 2018 09:50:14 +1100
Subject: [PATCH] hwmon: quote the path in Kconfig source statements

---
 drivers/hwmon/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/hwmon/Kconfig +1 -1
index 62b68cd280dc..6f929bfa9fcd 100644
@@ -1295,7 +1295,7 @@ config SENSORS_NSA320
 	  This driver can also be built as a module. If so, the module
 	  will be called nsa320-hwmon.
 
-source drivers/hwmon/occ/Kconfig
+source "drivers/hwmon/occ/Kconfig"
 
 config SENSORS_PCF8591
 	tristate "Philips PCF8591 ADC/DAC"
Signature · 5 lines
2.19.1

-- 
Cheers,
Stephen Rothwell