Search Linux Wireless

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

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

 



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




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux