All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH -mm] W1_CON: add W1 to depends
@ 2006-04-27  4:21 Randy.Dunlap
  2006-04-27 12:57 ` Evgeniy Polyakov
  0 siblings, 1 reply; 4+ messages in thread
From: Randy.Dunlap @ 2006-04-27  4:21 UTC (permalink / raw)
  To: lkml; +Cc: johnpol, akpm

From: Randy Dunlap <rdunlap@xenotime.net>

W1_CON should depend on W1 also.

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
---
 drivers/w1/Kconfig |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

--- linux-2.6.17-rc1-mm3.orig/drivers/w1/Kconfig
+++ linux-2.6.17-rc1-mm3/drivers/w1/Kconfig
@@ -13,7 +13,7 @@ config W1
 	  will be called wire.ko.
 
 config W1_CON
-	depends on CONNECTOR
+	depends on CONNECTOR && W1
 	bool "Userspace communication over connector"
 	default y
 	--- help ---


---

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH -mm] W1_CON: add W1 to depends
  2006-04-27  4:21 [PATCH -mm] W1_CON: add W1 to depends Randy.Dunlap
@ 2006-04-27 12:57 ` Evgeniy Polyakov
  2006-04-27 15:25   ` Randy.Dunlap
  0 siblings, 1 reply; 4+ messages in thread
From: Evgeniy Polyakov @ 2006-04-27 12:57 UTC (permalink / raw)
  To: Randy.Dunlap; +Cc: lkml, akpm

On Wed, Apr 26, 2006 at 09:21:31PM -0700, Randy.Dunlap (rdunlap@xenotime.net) wrote:
> From: Randy Dunlap <rdunlap@xenotime.net>
> 
> W1_CON should depend on W1 also.

I have no problem with the patch, but does dependency absence introduce
some problems? This config option is only used when w1 is enabled.

-- 
	Evgeniy Polyakov

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH -mm] W1_CON: add W1 to depends
  2006-04-27 12:57 ` Evgeniy Polyakov
@ 2006-04-27 15:25   ` Randy.Dunlap
  2006-04-27 15:37     ` Evgeniy Polyakov
  0 siblings, 1 reply; 4+ messages in thread
From: Randy.Dunlap @ 2006-04-27 15:25 UTC (permalink / raw)
  To: Evgeniy Polyakov; +Cc: linux-kernel, akpm

On Thu, 27 Apr 2006 16:57:45 +0400 Evgeniy Polyakov wrote:

> On Wed, Apr 26, 2006 at 09:21:31PM -0700, Randy.Dunlap (rdunlap@xenotime.net) wrote:
> > From: Randy Dunlap <rdunlap@xenotime.net>
> > 
> > W1_CON should depend on W1 also.
> 
> I have no problem with the patch, but does dependency absence introduce
> some problems? This config option is only used when w1 is enabled.

Not quite true, or I wouldn't have seen a problem and sent a patch
for it.
With W1 disabled and doing 'make oldconfig', I got a prompt for

  Userspace communication over connector (W1_CON)? [Y/m/n]

which shouldn't happen.

---
~Randy

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH -mm] W1_CON: add W1 to depends
  2006-04-27 15:25   ` Randy.Dunlap
@ 2006-04-27 15:37     ` Evgeniy Polyakov
  0 siblings, 0 replies; 4+ messages in thread
From: Evgeniy Polyakov @ 2006-04-27 15:37 UTC (permalink / raw)
  To: Randy.Dunlap; +Cc: linux-kernel, akpm

On Thu, Apr 27, 2006 at 08:25:25AM -0700, Randy.Dunlap (rdunlap@xenotime.net) wrote:
> On Thu, 27 Apr 2006 16:57:45 +0400 Evgeniy Polyakov wrote:
> 
> > On Wed, Apr 26, 2006 at 09:21:31PM -0700, Randy.Dunlap (rdunlap@xenotime.net) wrote:
> > > From: Randy Dunlap <rdunlap@xenotime.net>
> > > 
> > > W1_CON should depend on W1 also.
> > 
> > I have no problem with the patch, but does dependency absence introduce
> > some problems? This config option is only used when w1 is enabled.
> 
> Not quite true, or I wouldn't have seen a problem and sent a patch
> for it.
> With W1 disabled and doing 'make oldconfig', I got a prompt for
> 
>   Userspace communication over connector (W1_CON)? [Y/m/n]
> 
> which shouldn't happen.

I mean that it is asked to be enabled or not, but some compilation and
other logic is only turned on when w1 is enabled.

But you are right, it should not appear if w1 is not enabled.
I will take care of your patch, thank you, Randy.

> ---
> ~Randy

-- 
	Evgeniy Polyakov

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-04-27 15:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-27  4:21 [PATCH -mm] W1_CON: add W1 to depends Randy.Dunlap
2006-04-27 12:57 ` Evgeniy Polyakov
2006-04-27 15:25   ` Randy.Dunlap
2006-04-27 15:37     ` Evgeniy Polyakov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.