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

Dan Carpenter dan.carpenter at oracle.com
Tue Aug 14 10:56:21 UTC 2018


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.

regards,
dan carpenter



More information about the devel mailing list