diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2009-06-24 09:52:58 +0800 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-06-24 11:02:50 +0200 |
commit | c8961ec6da22ea010bf4470a8e0fb3fdad0f11c4 (patch) | |
tree | 799b41a5eae2268010ca2d5b883a6c4fe33a9297 /kernel/groups.c | |
parent | e1c7e2a6e67fe9db19dd15e71614526a31b5fdb1 (diff) | |
download | linux-c8961ec6da22ea010bf4470a8e0fb3fdad0f11c4.tar.bz2 |
tracing_bprintk: Don't increment @pos in t_start()
It's wrong to increment @pos in t_start(), otherwise we'll lose
some entries when reading printk_formats, if the output is larger
than PAGE_SIZE.
Reported-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Reviewed-by: Liming Wang <liming.wang@windriver.com>
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <4A4186FA.1020106@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/groups.c')
0 files changed, 0 insertions, 0 deletions