* [PATCH] THERMAL must not select HWMON [not found] ` <20080314112112.c00cbcdd.rdunlap@xenotime.net> @ 2008-03-14 18:37 ` Bastian Blank 2008-03-14 20:43 ` Andrew Morton 0 siblings, 1 reply; 3+ messages in thread From: Bastian Blank @ 2008-03-14 18:37 UTC (permalink / raw) To: Randy Dunlap; +Cc: linux-kbuild, linux-kernel, akpm, Zhang Rui [-- Attachment #1: Type: text/plain, Size: 862 bytes --] On Fri, Mar 14, 2008 at 11:21:12AM -0700, Randy Dunlap wrote: [ select forces HWMON to yes even if deps are never applicable ] > Yes, that's a known & longstanding problem (that select does not > follow/honor dependencies). Okay. So THERMAL can't select HWMON, instead it needs to do a proper depends. Bastian Signed-off-by: Bastian Blank <waldi@debian.org> Cc: Zhang Rui <rui.zhang@intel.com> diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig index 3ab313e..394912c 100644 --- a/drivers/thermal/Kconfig +++ b/drivers/thermal/Kconfig @@ -4,7 +4,7 @@ menuconfig THERMAL bool "Generic Thermal sysfs driver" - select HWMON + depends on HWMON default y help Generic Thermal Sysfs driver offers a generic mechanism for -- You canna change the laws of physics, Captain; I've got to have thirty minutes! [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 197 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] THERMAL must not select HWMON 2008-03-14 18:37 ` [PATCH] THERMAL must not select HWMON Bastian Blank @ 2008-03-14 20:43 ` Andrew Morton 2008-03-14 22:58 ` Randy Dunlap 0 siblings, 1 reply; 3+ messages in thread From: Andrew Morton @ 2008-03-14 20:43 UTC (permalink / raw) To: Bastian Blank; +Cc: rdunlap, linux-kbuild, linux-kernel, rui.zhang On Fri, 14 Mar 2008 19:37:58 +0100 Bastian Blank <bastian@waldi.eu.org> wrote: > On Fri, Mar 14, 2008 at 11:21:12AM -0700, Randy Dunlap wrote: > > [ select forces HWMON to yes even if deps are never applicable ] > > > Yes, that's a known & longstanding problem (that select does not > > follow/honor dependencies). > > Okay. > > So THERMAL can't select HWMON, instead it needs to do a proper depends. > > Bastian > > Signed-off-by: Bastian Blank <waldi@debian.org> > Cc: Zhang Rui <rui.zhang@intel.com> > > diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig > index 3ab313e..394912c 100644 > --- a/drivers/thermal/Kconfig > +++ b/drivers/thermal/Kconfig > @@ -4,7 +4,7 @@ > > menuconfig THERMAL > bool "Generic Thermal sysfs driver" > - select HWMON > + depends on HWMON > default y > help > Generic Thermal Sysfs driver offers a generic mechanism for Sorry, but we have insufficient information here. Presumably it fixes some build error, but the changelog should tell us (at least) what that error was, why it occurs and how the patch fixes it. Often (for bugfixes) I'll go off and find this stuff out from the mailing list and put together a proper description. I also need to do this so I can work out whether the patch is needed in 2.6.25 or -stable. But I can't even find any reference to the original problem in the lkml archives. ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] THERMAL must not select HWMON 2008-03-14 20:43 ` Andrew Morton @ 2008-03-14 22:58 ` Randy Dunlap 0 siblings, 0 replies; 3+ messages in thread From: Randy Dunlap @ 2008-03-14 22:58 UTC (permalink / raw) To: Andrew Morton Cc: Bastian Blank, rdunlap, linux-kbuild, linux-kernel, rui.zhang On Fri, 14 Mar 2008 13:43:01 -0700 Andrew Morton wrote: > On Fri, 14 Mar 2008 19:37:58 +0100 > Bastian Blank <bastian@waldi.eu.org> wrote: > > > On Fri, Mar 14, 2008 at 11:21:12AM -0700, Randy Dunlap wrote: > > > > [ select forces HWMON to yes even if deps are never applicable ] > > > > > Yes, that's a known & longstanding problem (that select does not > > > follow/honor dependencies). > > > > Okay. > > > > So THERMAL can't select HWMON, instead it needs to do a proper depends. > > > > Bastian > > > > Signed-off-by: Bastian Blank <waldi@debian.org> > > Cc: Zhang Rui <rui.zhang@intel.com> > > > > diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig > > index 3ab313e..394912c 100644 > > --- a/drivers/thermal/Kconfig > > +++ b/drivers/thermal/Kconfig > > @@ -4,7 +4,7 @@ > > > > menuconfig THERMAL > > bool "Generic Thermal sysfs driver" > > - select HWMON > > + depends on HWMON > > default y > > help > > Generic Thermal Sysfs driver offers a generic mechanism for > > Sorry, but we have insufficient information here. > > Presumably it fixes some build error, but the changelog should tell us (at > least) what that error was, why it occurs and how the patch fixes it. Bastian can report if he actually had a build error or not. What he reported on the linux-kbuild mailing list is that THERMAL selects HWMON. However, HWMON depends on HAS_IOMEM, but arch/s390 does not enable/support HAS_IOMEM. Bang. > Often (for bugfixes) I'll go off and find this stuff out from the mailing > list and put together a proper description. I also need to do this so I > can work out whether the patch is needed in 2.6.25 or -stable. But I can't > even find any reference to the original problem in the lkml archives. --- ~Randy ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-03-14 22:58 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20080314175501.GA11107@wavehammer.waldi.eu.org>
[not found] ` <20080314112112.c00cbcdd.rdunlap@xenotime.net>
2008-03-14 18:37 ` [PATCH] THERMAL must not select HWMON Bastian Blank
2008-03-14 20:43 ` Andrew Morton
2008-03-14 22:58 ` Randy Dunlap
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®