Skip to contentSkip to conversation

RTLWIFI_DEBUG bug

DISCUSSION Johannes Berg 3 participants 6 messages Feb 13, 2012 – Feb 14, 2012

lore
Share & tools
lore
#0 lore raw

config RTLWIFI_DEBUG
tristate "Additional debugging output"
depends on RTL8192CE || RTL8192CU || RTL8192SE || RTL8192DE default y

should be

config RTLWIFI_DEBUG

        bool "..."

as otherwise

+#ifdef CONFIG_RTLWIFI_DEBUG

can never be true in a modular build.

johannes

#1 lore raw
Quoted 7 lines · Johannes Berg

config RTLWIFI_DEBUG
tristate "Additional debugging output"
depends on RTL8192CE || RTL8192CU || RTL8192SE || RTL8192DE default y

should be

Quoted 7 lines

config RTLWIFI_DEBUG

        bool "..."

as otherwise

+#ifdef CONFIG_RTLWIFI_DEBUG
can never be true in a modular build.

If you know the correct solution,
perhaps you should submit a patch.

#2 lore raw
Quoted 11 lines · Joe Perches
Quoted 10 lines · Johannes Berg

config RTLWIFI_DEBUG
tristate "Additional debugging output"
depends on RTL8192CE || RTL8192CU || RTL8192SE || RTL8192DE default y

should be

config RTLWIFI_DEBUG

        bool "..."
Quoted 7 lines
Quoted 4 lines

as otherwise

+#ifdef CONFIG_RTLWIFI_DEBUG
can never be true in a modular build.

If you know the correct solution,
perhaps you should submit a patch.

If I knew your attitude was going to be a problem, I'd never said anything. I have better things to do.

johannes

#3 lore raw
Quoted 14 lines · Johannes Berg
Quoted 13 lines · Joe Perches
Quoted 12 lines · Johannes Berg

config RTLWIFI_DEBUG
tristate "Additional debugging output"
depends on RTL8192CE || RTL8192CU || RTL8192SE || RTL8192DE default y

should be

config RTLWIFI_DEBUG

        bool "..."

as otherwise

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

+#ifdef CONFIG_RTLWIFI_DEBUG
can never be true in a modular build.

If you know the correct solution,
perhaps you should submit a patch.

If I knew your attitude was going to be a problem, I'd never said anything. I have better things to do.

If you know a problem exists and the proper solution, it's not necessary to do anything other than create the appropriate patch and cc the appropriate people. Doing something else just creates more work for more people.

#4 lore raw
In reply to Johannes Berg
Quoted 10 lines · Johannes Berg

config RTLWIFI_DEBUG
tristate "Additional debugging output"
depends on RTL8192CE || RTL8192CU || RTL8192SE || RTL8192DE default y

should be

config RTLWIFI_DEBUG

         bool "..."
Quoted 7 lines

as otherwise

+#ifdef CONFIG_RTLWIFI_DEBUG

can never be true in a modular build.

johannes

Johannes,

It is OK as is. The appropriate section of my .config has

CONFIG_RTL8192CE=m
CONFIG_RTL8192SE=m
CONFIG_RTL8192DE=m
CONFIG_RTL8192CU=m
CONFIG_RTLWIFI=m
CONFIG_RTLWIFI_DEBUG=m
CONFIG_RTL8192C_COMMON=m

Larry

#5 lore raw
Quoted 21 lines · Larry Finger
Quoted 10 lines · Johannes Berg

config RTLWIFI_DEBUG
tristate "Additional debugging output"
depends on RTL8192CE || RTL8192CU || RTL8192SE || RTL8192DE default y

should be

config RTLWIFI_DEBUG

         bool "..."
Quoted 7 lines

as otherwise

+#ifdef CONFIG_RTLWIFI_DEBUG

can never be true in a modular build.

johannes

Johannes,

Quoted 8 lines

It is OK as is. The appropriate section of my .config has

CONFIG_RTL8192CE=m
CONFIG_RTL8192SE=m
CONFIG_RTL8192DE=m
CONFIG_RTL8192CU=m
CONFIG_RTLWIFI=m
CONFIG_RTLWIFI_DEBUG=m

Kconfig wise it is fine, but you might as well unset it -- the only use is an #ifdef which will not match when it's set to m.

johannes