projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24b2ec2
)
proc: use set_puts() at /proc/*/wchan
author
Alexey Dobriyan
<adobriyan@gmail.com>
Tue, 10 Apr 2018 23:31:34 +0000
(16:31 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Wed, 11 Apr 2018 17:28:33 +0000
(10:28 -0700)
Link:
http://lkml.kernel.org/r/20180217072011.GB16074@avx2
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Andy Shevchenko <andy.shevchenko@gmail.com>
Cc: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/proc/base.c
patch
|
blob
|
history
diff --git
a/fs/proc/base.c
b/fs/proc/base.c
index
d8b5a16
..
e9e7652
100644
(file)
--- a/
fs/proc/base.c
+++ b/
fs/proc/base.c
@@
-393,7
+393,7
@@
static int proc_pid_wchan(struct seq_file *m, struct pid_namespace *ns,
wchan = get_wchan(task);
if (wchan && !lookup_symbol_name(wchan, symname)) {
- seq_p
rintf(m, "%s"
, symname);
+ seq_p
uts(m
, symname);
return 0;
}