lkml.org 
[lkml]   [2011]   [Oct]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 26/26] printk.h: fix pr_cont_once() to not use pr_fmt()
Date
From: Jim Cromie <jim.cromie@gmail.com>

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@gmail.com>
---
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


\
 
 \ /
  Last update: 2011-10-07 22:37    [W:0.267 / U:6.484 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site