kconfig bug - select vs. depends

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi folks

I work on the s390 kernel, linus/linux2.6.git, and found something which
looks buggy. The kernel have HWMON enabled even if the dependencies does
not allow it.

Dependency structure:
| menuconfig THERMAL
|         bool "Generic Thermal sysfs driver"
|         select HWMON
|         default y
| 
| menuconfig HWMON
|         tristate "Hardware Monitoring support"
|         depends on HAS_IOMEM
|         default y
| 
| config HAS_IOMEM
|         boolean
|         depends on !NO_IOMEM
|         default y
| 
| config NO_IOMEM
|         def_bool y

HWMON should never be selectable in this case, but the select forces it
to yes:
| Hardware Monitoring support (HWMON) [Y/?] (NEW) y

Bastian

-- 
History tends to exaggerate.
		-- Col. Green, "The Savage Curtain", stardate 5906.4

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux