Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1729077 > unrolled thread

[PATCH] media: default for RC_CORE should be n

Started byStephen Hemminger <stephen@networkplumber.org>
First post2017-09-08 18:40 +0200
Last post2017-09-09 00:00 +0200
Articles 3 — 3 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] media: default for RC_CORE should be n Stephen Hemminger <stephen@networkplumber.org> - 2017-09-08 18:40 +0200
    Re: [PATCH] media: default for RC_CORE should be n Sean Young <sean@mess.org> - 2017-09-08 21:00 +0200
      Re: [PATCH] media: default for RC_CORE should be n Mauro Carvalho Chehab <mchehab@s-opensource.com> - 2017-09-09 00:00 +0200

#1729077 — [PATCH] media: default for RC_CORE should be n

FromStephen Hemminger <stephen@networkplumber.org>
Date2017-09-08 18:40 +0200
Subject[PATCH] media: default for RC_CORE should be n
Message-ID<unutY-12G-7@gated-at.bofh.it>
The Linus policy on Kconfig is that the default should be no
for all new devices. I.e the user rebuild a new kernel from an
old config should not by default get a larger kernel.

Fixes: b4c184e506a4 ("[media] media: reorganize the main Kconfig items")
Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
---
 drivers/media/rc/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/media/rc/Kconfig b/drivers/media/rc/Kconfig
index d9ce8ff55d0c..5aa384afcfef 100644
--- a/drivers/media/rc/Kconfig
+++ b/drivers/media/rc/Kconfig
@@ -2,7 +2,7 @@
 menuconfig RC_CORE
 	tristate "Remote Controller support"
 	depends on INPUT
-	default y
+	default n
 	---help---
 	  Enable support for Remote Controllers on Linux. This is
 	  needed in order to support several video capture adapters,
-- 
2.11.0

[toc] | [next] | [standalone]


#1729202

FromSean Young <sean@mess.org>
Date2017-09-08 21:00 +0200
Message-ID<unwFr-2mq-3@gated-at.bofh.it>
In reply to#1729077
On Fri, Sep 08, 2017 at 09:39:29AM -0700, Stephen Hemminger wrote:
> The Linus policy on Kconfig is that the default should be no
> for all new devices. I.e the user rebuild a new kernel from an
> old config should not by default get a larger kernel.

That might make sense for new config, but RC_CORE has been present for
7 years; I don't see how changing defaults for existing config makes
sense.


Sean

> 
> Fixes: b4c184e506a4 ("[media] media: reorganize the main Kconfig items")
> Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
> ---
>  drivers/media/rc/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/media/rc/Kconfig b/drivers/media/rc/Kconfig
> index d9ce8ff55d0c..5aa384afcfef 100644
> --- a/drivers/media/rc/Kconfig
> +++ b/drivers/media/rc/Kconfig
> @@ -2,7 +2,7 @@
>  menuconfig RC_CORE
>  	tristate "Remote Controller support"
>  	depends on INPUT
> -	default y
> +	default n
>  	---help---
>  	  Enable support for Remote Controllers on Linux. This is
>  	  needed in order to support several video capture adapters,
> -- 
> 2.11.0

[toc] | [prev] | [next] | [standalone]


#1729318

FromMauro Carvalho Chehab <mchehab@s-opensource.com>
Date2017-09-09 00:00 +0200
Message-ID<unztE-4m3-21@gated-at.bofh.it>
In reply to#1729202
Em Fri, 8 Sep 2017 12:06:48 -0700
Stephen Hemminger <stephen@networkplumber.org> escreveu:

> On Fri, 8 Sep 2017 19:52:47 +0100
> Sean Young <sean@mess.org> wrote:
> 
> > On Fri, Sep 08, 2017 at 09:39:29AM -0700, Stephen Hemminger wrote:  
> > > The Linus policy on Kconfig is that the default should be no
> > > for all new devices. I.e the user rebuild a new kernel from an
> > > old config should not by default get a larger kernel.    
> > 
> > That might make sense for new config, but RC_CORE has been present for
> > 7 years; I don't see how changing defaults for existing config makes
> > sense.
> >   
> 
> I took existing config for 4.13 and did 'make oldconfig' and just
> hitting return caused it to turned on.
> 
> The problem is that in my config media is disabled, and now your new
> reconfiguration makes RC_CORE not dependent on media.
> 
> It is a common problem, developers never test with their subsystem disabled.

Hi Sean,

Yes, it makes sense to default 'n' for RC_CORE now that this is an
independent menu option and it builds the RC core when enabled.

Regards,
Mauro

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web