[PATCH 2/5] staging: wilc1000: fixes for undefined reference to `__this_module' error
Ajay Singh
ajay.kathat at microchip.com
Tue Aug 14 11:10:28 UTC 2018
Hi Dan,
On Tue, 14 Aug 2018 13:56:21 +0300
Dan Carpenter <dan.carpenter at oracle.com> 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.
>
Thanks for the information.
I will explore these debug macros in future.
Regards,
Ajay
More information about the devel
mailing list