Skip to contentSkip to conversation

add missing =y to CONFIG_RT2X00_LIB_DEBUGFS

PATCH In review Rick Farina 3 participants 4 messages Feb 6, 2012 – Feb 7, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 add missing =y to CONFIG_RT2X00_LIB_DEBUGFS

When editing config.mk with a sed script the missing =y on this line causes issue. Since this line is commented out by default this means no changes to the default behavior and sed scripts will be able to edit the config.mk file much more easily.

---
 config.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
config.mk +1 -1
index 9433ce9..a9d189e 100644
@@ -639,7 +639,7 @@ CONFIG_RT2X00_LIB_LEDS=y
 endif #CONFIG_LEDS_CLASS
 endif #CONFIG_COMPAT_KERNEL_2_6_25
 # CONFIG_RT2X00_DEBUG=y
-# CONFIG_RT2X00_LIB_DEBUGFS
+# CONFIG_RT2X00_LIB_DEBUGFS=y
 endif
 
 # p54
Signature · 1 line
1.7.3.4
#1 lore raw
Quoted 15 lines · Rick Farina

When editing config.mk with a sed script the missing =y on this line causes issue. Since this line is commented out by default this means no changes to the default behavior and sed scripts will be able to edit the config.mk file much more easily.

---
 config.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
config.mk +0 -0
index 9433ce9..a9d189e 100644

config.mk CONFIG_RT2X00_LIB_LEDS=y · line 645

Quoted 8 lines
config.mk +1 -1
@@ -639,7 +639,7 @@ CONFIG_RT2X00_LIB_LEDS=y
 endif #CONFIG_LEDS_CLASS
 endif #CONFIG_COMPAT_KERNEL_2_6_25
 # CONFIG_RT2X00_DEBUG=y
-# CONFIG_RT2X00_LIB_DEBUGFS
+# CONFIG_RT2X00_LIB_DEBUGFS=y
 endif
 
 # p54

Isn't it more common to say "is not set" for Kconfig stuff that is commented out?

Signature · 2 lines
John W. Linville		Someday the world will need a hero, and you
[email protected]			might be all we have.  Be ready.
#2 lore raw
Quoted 23 lines · John W. Linville
Quoted 22 lines · Rick Farina

When editing config.mk with a sed script the missing =y on this line causes issue. Since this line is commented out by default this means no changes to the default behavior and sed scripts will be able to edit the config.mk file much more easily.

---
 config.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
config.mk +1 -1
index 9433ce9..a9d189e 100644
@@ -639,7 +639,7 @@ CONFIG_RT2X00_LIB_LEDS=y
 endif #CONFIG_LEDS_CLASS
 endif #CONFIG_COMPAT_KERNEL_2_6_25
 # CONFIG_RT2X00_DEBUG=y
-# CONFIG_RT2X00_LIB_DEBUGFS
+# CONFIG_RT2X00_LIB_DEBUGFS=y
 endif
 
Quoted 3 lines

config.mk CONFIG_RT2X00_LIB_LEDS=y · line 645

Quoted 1 line
config.mk +0 -0
 # p54

Isn't it more common to say "is not set" for Kconfig stuff that is commented out?

You are completely correct, however in this case that is not used on any of the other lines. This change makes the style consistent across compat-wireless not across the kernel.

Thanks,
Rick

#3 lore raw
In reply to Rick Farina
Quoted 6 lines · Rick Farina

When editing config.mk with a sed script the missing =y on this line causes issue. Since this line is commented out by default this means no changes to the default behavior and sed scripts will be able to edit the config.mk file much more easily.

Applied and pushed, thanks!

Luis