[PATCH 2/5] staging: wilc1000: fixes for undefined reference to `__this_module' error

Arend van Spriel arend.vanspriel at broadcom.com
Tue Aug 14 11:10:07 UTC 2018


On 8/14/2018 12:56 PM, Dan Carpenter wrote:
> On Sun, Aug 12, 2018 at 05:48:52PM +0530, Ajay Singh wrote:
>> Yes, currently only code to read and writing for "wilc_debug_level"
>> exists.
>>
>> The main purpose for this file was to configure(enable/disable)
>> specific level debug logs to print.
>>
>
> The kernel's dev_dbg() macros are really very clever.  You can enable
> them for one file or for a specific line or for a function.

Provided you have CONFIG_DYNAMIC_DEBUG selected.

Gr. AvS



More information about the devel mailing list