[PATCH v3 1/3] staging: brcm80211: replaced WL_NONE with no_printk

Arend van Spriel arend at broadcom.com
Thu Apr 21 17:32:16 UTC 2011


On Thu, 21 Apr 2011 19:14:00 +0200, Joe Perches <joe at perches.com> wrote:

> On Thu, 2011-04-21 at 19:10 +0200, Arend van Spriel wrote:
>> If you want to debug a specific source file you could do following in  
>> that
>> particular source file:
>> #undef no_printk
>> #define no_printk  printk
>> Not sure whether that is the intended use here.
>
> True, but that's entirely backwards
> and not very sensible either.
>
> For that you use pr_debug/dev_dbg/etc
> and then add #define DEBUG.

I see. I think WL_NONE was used like this and we mistakenly decided  
no_printk was the equivalent. Thanks for the clarifications.

Gr. AvS
-- 
"The world is indeed comic, but the joke is on mankind." — H.P. Lovecraft




More information about the devel mailing list