We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3a9e3b commit 1b2e335Copy full SHA for 1b2e335
arch/x86/kernel/alternative.c
@@ -53,7 +53,7 @@ __setup("noreplace-smp", setup_noreplace_smp);
53
#define DPRINTK(fmt, args...) \
54
do { \
55
if (debug_alternative) \
56
- printk(KERN_DEBUG "%s: " fmt "\n", __func__, ##args); \
+ printk(KERN_DEBUG pr_fmt(fmt) "\n", ##args); \
57
} while (0)
58
59
#define DUMP_BYTES(buf, len, fmt, args...) \
@@ -64,7 +64,7 @@ do { \
64
if (!(len)) \
65
break; \
66
\
67
- printk(KERN_DEBUG fmt, ##args); \
+ printk(KERN_DEBUG pr_fmt(fmt), ##args); \
68
for (j = 0; j < (len) - 1; j++) \
69
printk(KERN_CONT "%02hhx ", buf[j]); \
70
printk(KERN_CONT "%02hhx\n", buf[j]); \
0 commit comments