Re: CONFIG_RTLWIFI_DEBUG default y

From: Borislav Petkov
Date: Mon Apr 02 2012 - 16:53:24 EST


On Mon, Apr 02, 2012 at 03:46:54PM -0500, Larry Finger wrote:
> Users will see nothing more than before!
>
> Before CONFIG_RTLWIFI_DEBUG was allowed to be set, the driver always
> compiled in the debug code, but only those messages with the
> DBG_EMERG code were actually output. With the parameter set to Y,
> nothing changed. If the module is loaded with the "debug=X" option,
> where X is greater than 0, then other messages will be seen. That
> dynamic setting of the level is enough.
>
> The only change when the configuration parameter is set to N is that
> the entire debug setup compiles away. The driver is a lot smaller,
> but there is no debugging.

Yes, yes, I knew there should be some sane default there,
rtlpriv->dbg.global_debuglevel remains 0 which is DBG_EMERG. I stand
corrected, thanks.

--
Regards/Gruss,
Boris.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/