net: mac80211: Convert printk(KERN_DEBUG to pr_debug
Standardize the debugging to be able to use dynamic_debug. Coalesce formats, align arguments. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:

committed by
John W. Linville

parent
6efb71b01e
commit
f0d232080f
@@ -14,7 +14,7 @@
|
||||
|
||||
#ifdef CONFIG_MAC80211_VERBOSE_MESH_SYNC_DEBUG
|
||||
#define msync_dbg(fmt, args...) \
|
||||
printk(KERN_DEBUG "Mesh sync (%s): " fmt "\n", sdata->name, ##args)
|
||||
pr_debug("Mesh sync (%s): " fmt "\n", sdata->name, ##args)
|
||||
#else
|
||||
#define msync_dbg(fmt, args...) do { (void)(0); } while (0)
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user