rt2x00: print warning, notice and info as default
PATCH 1/4 rt2x00: print warning, notice and info as default
Some messages provide useful information, but are disabled without CONFIG_RT2X00_DEBUG=y, so enable them by default
--- drivers/net/wireless/rt2x00/rt2x00.h | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
drivers/net/wireless/rt2x00/rt2x00.h +3 -3
@@ -88,11 +88,11 @@ #define ERROR_PROBE(__msg, __args...) \ DEBUG_PRINTK_PROBE(KERN_ERR, "Error", __msg, ##__args) #define WARNING(__dev, __msg, __args...) \ - DEBUG_PRINTK(__dev, KERN_WARNING, "Warning", __msg, ##__args) + DEBUG_PRINTK_MSG(__dev, KERN_WARNING, "Warning", __msg, ##__args) #define NOTICE(__dev, __msg, __args...) \ - DEBUG_PRINTK(__dev, KERN_NOTICE, "Notice", __msg, ##__args) + DEBUG_PRINTK_MSG(__dev, KERN_NOTICE, "Notice", __msg, ##__args) #define INFO(__dev, __msg, __args...) \ - DEBUG_PRINTK(__dev, KERN_INFO, "Info", __msg, ##__args) + DEBUG_PRINTK_MSG(__dev, KERN_INFO, "Info", __msg, ##__args) #define DEBUG(__dev, __msg, __args...) \ DEBUG_PRINTK(__dev, KERN_DEBUG, "Debug", __msg, ##__args) #define EEPROM(__dev, __msg, __args...) \
Signature · 1 line
1.7.4.4
PATCH 2/4 rt2x00: remove NOTICE
We use this macro only on 3 places - remove it and replace by other appropriate macros for printing messages.
--- drivers/net/wireless/rt2x00/rt2800lib.c | 2 +- drivers/net/wireless/rt2x00/rt2x00.h | 2 -- drivers/net/wireless/rt2x00/rt2x00dev.c | 4 ++-- 3 files changed, 3 insertions(+), 5 deletions(-)
drivers/net/wireless/rt2x00/rt2800lib.c +1 -1
@@ -80,7 +80,7 @@ static inline bool rt2800_is_305x_soc(struct rt2x00_dev *rt2x00dev) rt2x00_rf(rt2x00dev, RF3022))return true; -NOTICE (rt2x00dev,"Unknown RF chipset on rt305x\n" ); +INFO (rt2x00dev,"Unknown RF chipset on rt305x\n" );return false; }
drivers/net/wireless/rt2x00/rt2x00.h +0 -2
@@ -89,8 +89,6 @@ DEBUG_PRINTK_PROBE(KERN_ERR, "Error", __msg, ##__args) #define WARNING(__dev, __msg, __args...) \ DEBUG_PRINTK_MSG(__dev, KERN_WARNING, "Warning", __msg, ##__args) -#define NOTICE(__dev, __msg, __args...) \ - DEBUG_PRINTK_MSG(__dev, KERN_NOTICE, "Notice", __msg, ##__args) #define INFO(__dev, __msg, __args...) \ DEBUG_PRINTK_MSG(__dev, KERN_INFO, "Info", __msg, ##__args) #define DEBUG(__dev, __msg, __args...) \
drivers/net/wireless/rt2x00/rt2x00dev.c +2 -2
@@ -1440,7 +1440,7 @@ EXPORT_SYMBOL_GPL(rt2x00lib_remove_dev);#ifdef CONFIG_PM int rt2x00lib_suspend (struct rt2x00_dev *rt2x00dev,pm_message_t state) { -NOTICE (rt2x00dev,"Going to sleep.\n" ); +DEBUG (rt2x00dev,"Going to sleep.\n" );/* * Prevent mac80211 from accessing driver while suspended.
@@ -1480,7 +1480,7 @@ EXPORT_SYMBOL_GPL(rt2x00lib_suspend);int rt2x00lib_resume (struct rt2x00_dev *rt2x00dev) { -NOTICE (rt2x00dev,"Waking up.\n" ); +DEBUG (rt2x00dev,"Waking up.\n" );/* * Restore/enable extra components.
Signature · 1 line
1.7.4.4
PATCH 3/4 rt2800usb: move "TX status missed" messages to debug level
Those messages can flood in dmesg, so do not print them by default.
--- drivers/net/wireless/rt2x00/rt2800usb.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
drivers/net/wireless/rt2x00/rt2800usb.c +3 -3
@@ -540,9 +540,9 @@ rt2800usb_txdone_entry_check(struct queue_entry *entry, u32 reg) tx_pid =rt2x00_get_field32 (word,TXWI_W1_PACKETID );if (wcid != tx_wcid || ack != tx_ack || (!is_agg && pid != tx_pid)) { -WARNING (entry->queue->rt2x00dev, -"TX status report missed for queue %d entry %d\n" , - entry->queue->qid, entry->entry_idx); +DEBUG (entry->queue->rt2x00dev, +"TX status report missed for queue %d entry %d\n" , + entry->queue->qid, entry->entry_idx);return TXDONE_UNKNOWN ; }
Signature · 1 line
1.7.4.4
PATCH 4/4 rt2x00: print queue parameters at debug level
Those messages do not provide interesting information for average user, print them at debug level.
--- drivers/net/wireless/rt2x00/rt2x00mac.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
drivers/net/wireless/rt2x00/rt2x00mac.c +3 -3
@@ -731,9 +731,9 @@ int rt2x00mac_conf_tx(struct ieee80211_hw *hw, queue->aifs = params->aifs; queue->txop = params->txop; -INFO (rt2x00dev, -"Configured TX queue %d - CWmin: %d, CWmax: %d, Aifs: %d, TXop: %d.\n" , - queue_idx, queue->cw_min, queue->cw_max, queue->aifs, queue->txop); +DEBUG (rt2x00dev, +"Configured TX queue %d - CWmin: %d, CWmax: %d, Aifs: %d, TXop: %d.\n" , + queue_idx, queue->cw_min, queue->cw_max, queue->aifs, queue->txop);return 0 ; }
Signature · 1 line
1.7.4.4
Re: [PATCH 4/4] rt2x00: print queue parameters at debug level
Sent from my iPad
Quoted 4 lines · Stanislaw Gruszka
Those messages do not provide interesting information for average user, print them at debug level.
Signed-off-by Stanislaw Gruszka <[email protected]>
Quoted 28 lines
---
drivers/net/wireless/rt2x00/rt2x00mac.c| 6 +++---1 files changed, 3 insertions(+), 3 deletions(-)drivers/net/wireless/rt2x00/rt2x00mac.c +3
-3@@ -731,9 +731,9 @@ int rt2x00mac_conf_tx(struct ieee80211_hw *hw, queue->aifs = params->aifs; queue->txop = params->txop; -INFO (rt2x00dev, -"Configured TX queue %d - CWmin: %d, CWmax: %d, Aifs: %d, TXop: %d.\n" , - queue_idx, queue->cw_min, queue->cw_max, queue->aifs, queue->txop); +DEBUG (rt2x00dev, +"Configured TX queue %d - CWmin: %d, CWmax: %d, Aifs: %d, TXop: %d.\n" , + queue_idx, queue->cw_min, queue->cw_max, queue->aifs, queue->txop);return 0 ; }Signature · 6 lines
1.7.4.4 -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH 4/4] rt2x00: print queue parameters at debug level
In reply to Stanislaw GruszkaQuoted 4 lines · Stanislaw Gruszka
Those messages do not provide interesting information for average user, print them at debug level.
Signed-off-by Stanislaw Gruszka <[email protected]>
Quoted 28 lines
--- drivers/net/wireless/rt2x00/rt2x00mac.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)drivers/net/wireless/rt2x00/rt2x00mac.c +3
-4@@ -731,9 +731,9 @@ int rt2x00mac_conf_tx(struct ieee80211_hw *hw, queue->aifs = params->aifs; queue->txop = params->txop; -INFO (rt2x00dev, -"Configured TX queue %d - CWmin: %d, CWmax: %d, Aifs: %d, TXop: %d.\n" , - queue_idx, queue->cw_min, queue->cw_max, queue->aifs, queue->txop); +DEBUG (rt2x00dev, +"Configured TX queue %d - CWmin: %d, CWmax: %d, Aifs: %d, TXop: %d.\n" , + queue_idx, queue->cw_min, queue->cw_max, queue->aifs, queue->txop);return 0 ; } --1.7.4.4
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH 3/4] rt2800usb: move "TX status missed" messages to debug level
In reply to Stanislaw GruszkaSent from my iPad
Quoted 3 lines · Stanislaw Gruszka
Those messages can flood in dmesg, so do not print them by default.
Signed-off-by Stanislaw Gruszka <[email protected]>
Quoted 28 lines
---
drivers/net/wireless/rt2x00/rt2800usb.c| 6 +++---1 files changed, 3 insertions(+), 3 deletions(-)drivers/net/wireless/rt2x00/rt2800usb.c +3
-3@@ -540,9 +540,9 @@ rt2800usb_txdone_entry_check(struct queue_entry *entry, u32 reg) tx_pid =rt2x00_get_field32 (word,TXWI_W1_PACKETID );if (wcid != tx_wcid || ack != tx_ack || (!is_agg && pid != tx_pid)) { -WARNING (entry->queue->rt2x00dev, -"TX status report missed for queue %d entry %d\n" , - entry->queue->qid, entry->entry_idx); +DEBUG (entry->queue->rt2x00dev, +"TX status report missed for queue %d entry %d\n" , + entry->queue->qid, entry->entry_idx);return TXDONE_UNKNOWN ; }Signature · 6 lines
1.7.4.4 -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH 3/4] rt2800usb: move "TX status missed" messages to debug level
In reply to Stanislaw GruszkaQuoted 3 lines · Stanislaw Gruszka
Those messages can flood in dmesg, so do not print them by default.
Signed-off-by Stanislaw Gruszka <[email protected]>
Quoted 28 lines
--- drivers/net/wireless/rt2x00/rt2800usb.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)drivers/net/wireless/rt2x00/rt2800usb.c +3
-4@@ -540,9 +540,9 @@ rt2800usb_txdone_entry_check(struct queue_entry *entry, u32 reg) tx_pid =rt2x00_get_field32 (word,TXWI_W1_PACKETID );if (wcid != tx_wcid || ack != tx_ack || (!is_agg && pid != tx_pid)) { -WARNING (entry->queue->rt2x00dev, -"TX status report missed for queue %d entry %d\n" , - entry->queue->qid, entry->entry_idx); +DEBUG (entry->queue->rt2x00dev, +"TX status report missed for queue %d entry %d\n" , + entry->queue->qid, entry->entry_idx);return TXDONE_UNKNOWN ; } --1.7.4.4
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH 2/4] rt2x00: remove NOTICE
In reply to Stanislaw GruszkaSent from my iPad
Quoted 4 lines · Stanislaw Gruszka
We use this macro only on 3 places - remove it and replace by other appropriate macros for printing messages.
Signed-off-by Stanislaw Gruszka <[email protected]>
Quoted 61 lines
---
drivers/net/wireless/rt2x00/rt2800lib.c | 2 +- drivers/net/wireless/rt2x00/rt2x00.h | 2 -- drivers/net/wireless/rt2x00/rt2x00dev.c | 4 ++-- 3 files changed, 3 insertions(+), 5 deletions(-)drivers/net/wireless/rt2x00/rt2800lib.c +1
-1@@ -80,7 +80,7 @@ static inline bool rt2800_is_305x_soc(struct rt2x00_dev *rt2x00dev) rt2x00_rf(rt2x00dev, RF3022))return true; -NOTICE (rt2x00dev,"Unknown RF chipset on rt305x\n" ); +INFO (rt2x00dev,"Unknown RF chipset on rt305x\n" );return false; }drivers/net/wireless/rt2x00/rt2x00.h +0
-2@@ -89,8 +89,6 @@ DEBUG_PRINTK_PROBE(KERN_ERR, "Error", __msg, ##__args) #define WARNING(__dev, __msg, __args...) \ DEBUG_PRINTK_MSG(__dev, KERN_WARNING, "Warning", __msg, ##__args) -#define NOTICE(__dev, __msg, __args...) \ - DEBUG_PRINTK_MSG(__dev, KERN_NOTICE, "Notice", __msg, ##__args) #define INFO(__dev, __msg, __args...) \ DEBUG_PRINTK_MSG(__dev, KERN_INFO, "Info", __msg, ##__args) #define DEBUG(__dev, __msg, __args...) \drivers/net/wireless/rt2x00/rt2x00dev.c +2
-2@@ -1440,7 +1440,7 @@ EXPORT_SYMBOL_GPL(rt2x00lib_remove_dev);#ifdef CONFIG_PM int rt2x00lib_suspend (struct rt2x00_dev *rt2x00dev,pm_message_t state) { -NOTICE (rt2x00dev,"Going to sleep.\n" ); +DEBUG (rt2x00dev,"Going to sleep.\n" );/* * Prevent mac80211 from accessing driver while suspended. @@ -1480,7 +1480,7 @@ EXPORT_SYMBOL_GPL(rt2x00lib_suspend);int rt2x00lib_resume (struct rt2x00_dev *rt2x00dev) { -NOTICE (rt2x00dev,"Waking up.\n" ); +DEBUG (rt2x00dev,"Waking up.\n" );/* * Restore/enable extra components. Signature · 6 lines
1.7.4.4 -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH 2/4] rt2x00: remove NOTICE
In reply to Stanislaw GruszkaQuoted 15 lines · Stanislaw Gruszka
We use this macro only on 3 places - remove it and replace by other appropriate macros for printing messages.
Signed-off-by Stanislaw Gruszka <[email protected]>--- drivers/net/wireless/rt2x00/rt2800lib.c | 2 +- drivers/net/wireless/rt2x00/rt2x00.h | 2 -- drivers/net/wireless/rt2x00/rt2x00dev.c | 4 ++-- 3 files changed, 3 insertions(+), 5 deletions(-)drivers/net/wireless/rt2x00/rt2800lib.c +0
-0
drivers/net/wireless/rt2x00/rt2800lib.c static inline bool rt2800_is_305x_soc(struct rt2x00_dev *rt2x00dev) · line 85
Quoted 7 lines
drivers/net/wireless/rt2x00/rt2800lib.c +1
-1@@ -80,7 +80,7 @@ static inline bool rt2800_is_305x_soc(struct rt2x00_dev *rt2x00dev) rt2x00_rf(rt2x00dev, RF3022))return true; -NOTICE (rt2x00dev,"Unknown RF chipset on rt305x\n" ); +INFO (rt2x00dev,"Unknown RF chipset on rt305x\n" );return false; }
Isn't this more a warning?
Ivo
Re: [PATCH 2/4] rt2x00: remove NOTICE
Quoted 19 lines · Ivo Van Doorn
Quoted 18 lines · Stanislaw Gruszka
We use this macro only on 3 places - remove it and replace by other appropriate macros for printing messages.
Signed-off-by Stanislaw Gruszka <[email protected]>--- drivers/net/wireless/rt2x00/rt2800lib.c | 2 +- drivers/net/wireless/rt2x00/rt2x00.h | 2 -- drivers/net/wireless/rt2x00/rt2x00dev.c | 4 ++-- 3 files changed, 3 insertions(+), 5 deletions(-)drivers/net/wireless/rt2x00/rt2800lib.c +0
-0@@ -80,7 +80,7 @@ static inline bool rt2800_is_305x_soc(struct rt2x00_dev *rt2x00dev) rt2x00_rf(rt2x00dev, RF3022))return true;
Quoted 6 lines
drivers/net/wireless/rt2x00/rt2800lib.c static inline bool rt2800_is_305x_soc(struct rt2x00_dev *rt2x00dev) · line 85
Quoted 4 lines
drivers/net/wireless/rt2x00/rt2800lib.c +1
-1-NOTICE (rt2x00dev,"Unknown RF chipset on rt305x\n" ); +INFO (rt2x00dev,"Unknown RF chipset on rt305x\n" );return false; }Isn't this more a warning?
Yeah, I'll change that patch.
Stanislaw
PATCH v2 2/4 rt2x00: remove NOTICE
In reply to Stanislaw GruszkaWe use this macro only on 3 places - remove it and replace by other appropriate macros for printing messages.
---
v1 -> v2 : replace NOTICE by WARNING for unknown RF chipset message.
drivers/net/wireless/rt2x00/rt2800lib.c | 2 +- drivers/net/wireless/rt2x00/rt2x00.h | 2 -- drivers/net/wireless/rt2x00/rt2x00dev.c | 4 ++-- 3 files changed, 3 insertions(+), 5 deletions(-)
drivers/net/wireless/rt2x00/rt2800lib.c +1 -1
@@ -80,7 +80,7 @@ static inline bool rt2800_is_305x_soc(struct rt2x00_dev *rt2x00dev) rt2x00_rf(rt2x00dev, RF3022))return true; -NOTICE (rt2x00dev,"Unknown RF chipset on rt305x\n" ); +WARNING (rt2x00dev,"Unknown RF chipset on rt305x\n" );return false; }
drivers/net/wireless/rt2x00/rt2x00.h +0 -2
@@ -89,8 +89,6 @@ DEBUG_PRINTK_PROBE(KERN_ERR, "Error", __msg, ##__args) #define WARNING(__dev, __msg, __args...) \ DEBUG_PRINTK_MSG(__dev, KERN_WARNING, "Warning", __msg, ##__args) -#define NOTICE(__dev, __msg, __args...) \ - DEBUG_PRINTK_MSG(__dev, KERN_NOTICE, "Notice", __msg, ##__args) #define INFO(__dev, __msg, __args...) \ DEBUG_PRINTK_MSG(__dev, KERN_INFO, "Info", __msg, ##__args) #define DEBUG(__dev, __msg, __args...) \
drivers/net/wireless/rt2x00/rt2x00dev.c +2 -2
@@ -1440,7 +1440,7 @@ EXPORT_SYMBOL_GPL(rt2x00lib_remove_dev);#ifdef CONFIG_PM int rt2x00lib_suspend (struct rt2x00_dev *rt2x00dev,pm_message_t state) { -NOTICE (rt2x00dev,"Going to sleep.\n" ); +DEBUG (rt2x00dev,"Going to sleep.\n" );/* * Prevent mac80211 from accessing driver while suspended.
@@ -1480,7 +1480,7 @@ EXPORT_SYMBOL_GPL(rt2x00lib_suspend);int rt2x00lib_resume (struct rt2x00_dev *rt2x00dev) { -NOTICE (rt2x00dev,"Waking up.\n" ); +DEBUG (rt2x00dev,"Waking up.\n" );/* * Restore/enable extra components.
Signature · 1 line
1.7.4.4
Re: [PATCH 2/4 v2] rt2x00: remove NOTICE
Quoted 4 lines · Stanislaw Gruszka
We use this macro only on 3 places - remove it and replace by other appropriate macros for printing messages.
Signed-off-by Stanislaw Gruszka <[email protected]>
Quoted 63 lines
---
v1 -> v2 : replace NOTICE by WARNING for unknown RF chipset message.drivers/net/wireless/rt2x00/rt2800lib.c | 2 +- drivers/net/wireless/rt2x00/rt2x00.h | 2 -- drivers/net/wireless/rt2x00/rt2x00dev.c | 4 ++-- 3 files changed, 3 insertions(+), 5 deletions(-)drivers/net/wireless/rt2x00/rt2800lib.c +1
-1@@ -80,7 +80,7 @@ static inline bool rt2800_is_305x_soc(struct rt2x00_dev *rt2x00dev) rt2x00_rf(rt2x00dev, RF3022))return true; -NOTICE (rt2x00dev,"Unknown RF chipset on rt305x\n" ); +WARNING (rt2x00dev,"Unknown RF chipset on rt305x\n" );return false; }drivers/net/wireless/rt2x00/rt2x00.h +0
-2@@ -89,8 +89,6 @@ DEBUG_PRINTK_PROBE(KERN_ERR, "Error", __msg, ##__args) #define WARNING(__dev, __msg, __args...) \ DEBUG_PRINTK_MSG(__dev, KERN_WARNING, "Warning", __msg, ##__args) -#define NOTICE(__dev, __msg, __args...) \ - DEBUG_PRINTK_MSG(__dev, KERN_NOTICE, "Notice", __msg, ##__args) #define INFO(__dev, __msg, __args...) \ DEBUG_PRINTK_MSG(__dev, KERN_INFO, "Info", __msg, ##__args) #define DEBUG(__dev, __msg, __args...) \drivers/net/wireless/rt2x00/rt2x00dev.c +2
-3@@ -1440,7 +1440,7 @@ EXPORT_SYMBOL_GPL(rt2x00lib_remove_dev);#ifdef CONFIG_PM int rt2x00lib_suspend (struct rt2x00_dev *rt2x00dev,pm_message_t state) { -NOTICE (rt2x00dev,"Going to sleep.\n" ); +DEBUG (rt2x00dev,"Going to sleep.\n" );/* * Prevent mac80211 from accessing driver while suspended. @@ -1480,7 +1480,7 @@ EXPORT_SYMBOL_GPL(rt2x00lib_suspend);int rt2x00lib_resume (struct rt2x00_dev *rt2x00dev) { -NOTICE (rt2x00dev,"Waking up.\n" ); +DEBUG (rt2x00dev,"Waking up.\n" );/* * Restore/enable extra components. -- 1.7.4.4
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Sent from my iPad
Quoted 4 lines · Stanislaw Gruszka
Some messages provide useful information, but are disabled without
CONFIG_RT2X00_DEBUG=y, so enable them by defaultSigned-off-by Stanislaw Gruszka <[email protected]>
Thanks for respinning.
Quoted 30 lines
---
drivers/net/wireless/rt2x00/rt2x00.h| 6 +++---1 files changed, 3 insertions(+), 3 deletions(-)drivers/net/wireless/rt2x00/rt2x00.h +3
-3@@ -88,11 +88,11 @@ #define ERROR_PROBE(__msg, __args...) \ DEBUG_PRINTK_PROBE(KERN_ERR, "Error", __msg, ##__args) #define WARNING(__dev, __msg, __args...) \ - DEBUG_PRINTK(__dev, KERN_WARNING, "Warning", __msg, ##__args) + DEBUG_PRINTK_MSG(__dev, KERN_WARNING, "Warning", __msg, ##__args) #define NOTICE(__dev, __msg, __args...) \ - DEBUG_PRINTK(__dev, KERN_NOTICE, "Notice", __msg, ##__args) + DEBUG_PRINTK_MSG(__dev, KERN_NOTICE, "Notice", __msg, ##__args) #define INFO(__dev, __msg, __args...) \ - DEBUG_PRINTK(__dev, KERN_INFO, "Info", __msg, ##__args) + DEBUG_PRINTK_MSG(__dev, KERN_INFO, "Info", __msg, ##__args) #define DEBUG(__dev, __msg, __args...) \ DEBUG_PRINTK(__dev, KERN_DEBUG, "Debug", __msg, ##__args) #define EEPROM(__dev, __msg, __args...) \Signature · 6 lines
1.7.4.4 -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 10 lines · Gertjan van Wingerde
Quoted 4 lines · Stanislaw Gruszka
Some messages provide useful information, but are disabled without
CONFIG_RT2X00_DEBUG=y, so enable them by defaultSigned-off-by Stanislaw Gruszka <[email protected]>Thanks for respinning.
Fine with me, however, in the future we could think of just using dynamic debug in rt2x00 (pr_debug etc). Would allow a user to enable debug output selectively during runtime.
Helmut
Quoted 9 lines · Helmut Schaa
Quoted 7 lines · Gertjan van Wingerde
Quoted 4 lines · Stanislaw Gruszka
Some messages provide useful information, but are disabled without
CONFIG_RT2X00_DEBUG=y, so enable them by defaultSigned-off-by Stanislaw Gruszka <[email protected]>
Quoted 8 lines
Quoted 3 lines
Thanks for respinning.
Fine with me, however, in the future we could think of just using dynamic debug in rt2x00 (
pr_debugetc). Would allow a user to enable debug output selectively during runtime.
I was thinking about the same and I have put the conversion to dynamic debug on my TODO list
(unless someone beats me to it, I will look at this during the weekend).
---
Gertjan
Quoted 15 lines · Gertjan van Wingerde
Quoted 13 lines · Helmut Schaa
Quoted 10 lines · Gertjan van Wingerde
Quoted 4 lines · Stanislaw Gruszka
Some messages provide useful information, but are disabled without
CONFIG_RT2X00_DEBUG=y, so enable them by defaultSigned-off-by Stanislaw Gruszka <[email protected]>Thanks for respinning.
Quoted 8 lines
Quoted 4 lines
Fine with me, however, in the future we could think of just using dynamic debug in rt2x00 (
pr_debugetc). Would allow a user to enable debug output selectively during runtime.I was thinking about the same and I have put the conversion to dynamic debug on my TODO list
(unless someone beats me to it, I will look at this during the weekend).
No worries, I won't be able to beat you :D
Quoted 17 lines · Stanislaw Gruszka
Some messages provide useful information, but are disabled without
CONFIG_RT2X00_DEBUG=y, so enable them by defaultSigned-off-by Stanislaw Gruszka <[email protected]>--- drivers/net/wireless/rt2x00/rt2x00.h | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)drivers/net/wireless/rt2x00/rt2x00.h +0
-1@@ -88,11 +88,11 @@ #define ERROR_PROBE(__msg, __args...) \ DEBUG_PRINTK_PROBE(KERN_ERR, "Error", __msg, ##__args) #define WARNING(__dev, __msg, __args...) \ - DEBUG_PRINTK(__dev, KERN_WARNING, "Warning", __msg, ##__args)
drivers/net/wireless/rt2x00/rt2x00.h line 98
Quoted 10 lines
drivers/net/wireless/rt2x00/rt2x00.h +3
-2+ DEBUG_PRINTK_MSG(__dev, KERN_WARNING, "Warning", __msg, ##__args) #define NOTICE(__dev, __msg, __args...) \ - DEBUG_PRINTK(__dev, KERN_NOTICE, "Notice", __msg, ##__args) + DEBUG_PRINTK_MSG(__dev, KERN_NOTICE, "Notice", __msg, ##__args) #define INFO(__dev, __msg, __args...) \ - DEBUG_PRINTK(__dev, KERN_INFO, "Info", __msg, ##__args) + DEBUG_PRINTK_MSG(__dev, KERN_INFO, "Info", __msg, ##__args) #define DEBUG(__dev, __msg, __args...) \ DEBUG_PRINTK(__dev, KERN_DEBUG, "Debug", __msg, ##__args) #define EEPROM(__dev, __msg, __args...) \
This patch was applied twice. The old one and this version. See:28f2bce9f8bbf704c86f8c684337f82c51592c81 def64521572d8330bfa6d855e278507100fdf180
Quoted 4 lines · Xose Vazquez Perez
This patch was applied twice. The old one and this version. See:
28f2bce9f8bbf704c86f8c684337f82c51592c81def64521572d8330bfa6d855e278507100fdf180
forget it!. I misread the subject.
Sorry for the noise.