Dynamic debug: fix pr_fmt() build error
[linux-3.10.git] / include / linux / dynamic_debug.h
index 07781aa..baabf33 100644 (file)
@@ -57,7 +57,7 @@ extern int ddebug_remove_module(char *mod_name);
        { KBUILD_MODNAME, __func__, __FILE__, fmt, DEBUG_HASH,  \
                DEBUG_HASH2, __LINE__, _DPRINTK_FLAGS_DEFAULT };        \
        if (__dynamic_dbg_enabled(descriptor))                          \
-               printk(KERN_DEBUG KBUILD_MODNAME ":" fmt,               \
+               printk(KERN_DEBUG KBUILD_MODNAME ":" pr_fmt(fmt),       \
                                ##__VA_ARGS__);                         \
        } while (0)
 
@@ -70,7 +70,7 @@ extern int ddebug_remove_module(char *mod_name);
                DEBUG_HASH2, __LINE__, _DPRINTK_FLAGS_DEFAULT };        \
        if (__dynamic_dbg_enabled(descriptor))                          \
                        dev_printk(KERN_DEBUG, dev,                     \
-                                       KBUILD_MODNAME ": " fmt,        \
+                                       KBUILD_MODNAME ": " pr_fmt(fmt),\
                                        ##__VA_ARGS__);                 \
        } while (0)