linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] [TRIVIAL] [RESEND] leds: Kconfig: Fix typo 'D2NET_V2'
@ 2011-11-24 10:08 Paul Bolle
  2011-11-24 10:29 ` Simon Guinot
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Bolle @ 2011-11-24 10:08 UTC (permalink / raw)
  To: Jiri Kosina; +Cc: Simon Guinot, Nicolas Pitre, linux-kernel

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
---
0) This corrects an obvious typo. That typo was added in commit
84712e9aa4 ("[ARM] Kirkwood: add LaCie d2 Network v2 support") which
added support for 'MACH_D2NET_V2'.

1) I sent this yesterday to trivial@kernel.org only. However, this
allows people using a "LaCie d2 Network v2 NAS Board" to enable "LED
support for Network Space v2 GPIO LEDs" and thus lets them run code that
they can't run now. So, to be really safe, this time I've also CC'd the
people involved in that commit to (perhaps test this and) ACK or NAK
this.

 drivers/leds/Kconfig |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig
index ff203a4..1b75a56 100644
--- a/drivers/leds/Kconfig
+++ b/drivers/leds/Kconfig
@@ -347,7 +347,8 @@ config LEDS_MC13783
 config LEDS_NS2
 	tristate "LED support for Network Space v2 GPIO LEDs"
 	depends on LEDS_CLASS
-	depends on MACH_NETSPACE_V2 || MACH_INETSPACE_V2 || MACH_NETSPACE_MAX_V2 || D2NET_V2
+	depends on MACH_NETSPACE_V2 || MACH_INETSPACE_V2 || \
+		   MACH_NETSPACE_MAX_V2 || MACH_D2NET_V2
 	default y
 	help
 	  This option enable support for the dual-GPIO LED found on the
-- 
1.7.7.3


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

* Re: [PATCH] [TRIVIAL] [RESEND] leds: Kconfig: Fix typo 'D2NET_V2'
  2011-11-24 10:08 [PATCH] [TRIVIAL] [RESEND] leds: Kconfig: Fix typo 'D2NET_V2' Paul Bolle
@ 2011-11-24 10:29 ` Simon Guinot
  0 siblings, 0 replies; 2+ messages in thread
From: Simon Guinot @ 2011-11-24 10:29 UTC (permalink / raw)
  To: Paul Bolle; +Cc: Jiri Kosina, Simon Guinot, Nicolas Pitre, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1921 bytes --]

Hi Paul,

On Thu, Nov 24, 2011 at 11:08:37AM +0100, Paul Bolle wrote:
> Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
> ---
> 0) This corrects an obvious typo. That typo was added in commit
> 84712e9aa4 ("[ARM] Kirkwood: add LaCie d2 Network v2 support") which
> added support for 'MACH_D2NET_V2'.
> 
> 1) I sent this yesterday to trivial@kernel.org only. However, this
> allows people using a "LaCie d2 Network v2 NAS Board" to enable "LED
> support for Network Space v2 GPIO LEDs" and thus lets them run code that
> they can't run now. So, to be really safe, this time I've also CC'd the

They can run this code because more likely the same binary kernel
supports all the Kirkwood machines, including MACH_NETSPACE_V2, etc...

And that's why I missed this typo :)

> people involved in that commit to (perhaps test this and) ACK or NAK
> this.

Acked-by: Simon Guinot <sguinot@lacie.com>

Thanks for the patch.

Simon

> 
>  drivers/leds/Kconfig |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig
> index ff203a4..1b75a56 100644
> --- a/drivers/leds/Kconfig
> +++ b/drivers/leds/Kconfig
> @@ -347,7 +347,8 @@ config LEDS_MC13783
>  config LEDS_NS2
>  	tristate "LED support for Network Space v2 GPIO LEDs"
>  	depends on LEDS_CLASS
> -	depends on MACH_NETSPACE_V2 || MACH_INETSPACE_V2 || MACH_NETSPACE_MAX_V2 || D2NET_V2
> +	depends on MACH_NETSPACE_V2 || MACH_INETSPACE_V2 || \
> +		   MACH_NETSPACE_MAX_V2 || MACH_D2NET_V2
>  	default y
>  	help
>  	  This option enable support for the dual-GPIO LED found on the
> -- 
> 1.7.7.3
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

end of thread, other threads:[~2011-11-24 10:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-24 10:08 [PATCH] [TRIVIAL] [RESEND] leds: Kconfig: Fix typo 'D2NET_V2' Paul Bolle
2011-11-24 10:29 ` Simon Guinot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).