[PATCH 26/26] printk.h: fix pr_cont_once() to not use pr_fmt()

From: jim . cromie
Date: Fri Oct 07 2011 - 16:35:31 EST


From: Jim Cromie <jim.cromie@xxxxxxxxx>

pr_cont() doesnt use pr_fmt(), since it continues printing a single
line, and the prefix has already been done. Fix pr_cont_once() to do
the same.

Signed-off-by: Jim Cromie <jim.cromie@xxxxxxxxx>
---
include/linux/printk.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/linux/printk.h b/include/linux/printk.h
index e21de7e..4ba6cde 100644
--- a/include/linux/printk.h
+++ b/include/linux/printk.h
@@ -255,7 +255,7 @@ extern void dump_stack(void) __cold;
#define pr_info_once(fmt, ...) \
printk_once(KERN_INFO pr_fmt_info(fmt), ##__VA_ARGS__)
#define pr_cont_once(fmt, ...) \
- printk_once(KERN_CONT pr_fmt(fmt), ##__VA_ARGS__)
+ printk_once(KERN_CONT fmt, ##__VA_ARGS__)
/* If you are writing a driver, please use dev_dbg instead */
#if defined(DEBUG)
#define pr_debug_once(fmt, ...) \
--
1.7.4.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/