Google
  Web www.spinics.net

Re: [PATCH 4/6] mac80211: clean up debugging

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On Sat, 2012-06-23 at 01:02 -0700, Joe Perches wrote:

> I think all the Kconfig debugging options aren't
> particularly useful.
> 
> I think you should use a level/mask module debug
> variable to enable these instead of appearing to try
> to minimize the size of the objects via individual
> Kconfig options.
> 
> I think it'd be better to enable them all the time
> (or not at all when !DEBUG) and select them for output
> via the debug level.

I agree, but I don't want to switch twice. Once pr_debug() has dynamic
sub-selector capabilities, I'll use it here.

FWIW, I would definitely prefer named rather than bitmap selectors :-)

johannes

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Linux Kernel]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Photo]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]     [Free Dating]     [M2M Wireless]

Add to Google Powered by Linux