Re: [PATCH] include/net/inet_connection_sock.h: Use pr_devel() instead of pr_debug()

2016-03-10 Thread David Miller
From: Nick Wang Date: Tue, 8 Mar 2016 13:52:28 +0800 > File "inet_connection_sock.h" is a common share header that not can > be use for one module, so use pr_devel instead of pr_debug is OK. Not really, we only want these printks to do anything only when debug printk's are enabled. We don't w

[PATCH] include/net/inet_connection_sock.h: Use pr_devel() instead of pr_debug()

2016-03-07 Thread Nick Wang
When DYNAMIC_DEBUG enabled, pr_debug() depends on KBUILD_MODNAME which also depends on the modules name in Makefile. Refer to the information in "scripts/Makefile.lib": # $(modname_flags) #defines KBUILD_MODNAME as the name of the module it will # end up in (or would, if it gets compiled in) #