diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2009-12-08 04:15:11 +0100 |
---|---|---|
committer | Frederic Weisbecker <fweisbec@gmail.com> | 2009-12-13 18:37:25 +0100 |
commit | 311d16da575f53c3367099579736c1d233efe0dc (patch) | |
tree | 6fea069fc00f50afac428021989d037f0bb0162f /kernel/compat.c | |
parent | tracing: Move a printk out of ftrace_raw_reg_event_foo() (diff) | |
download | linux-311d16da575f53c3367099579736c1d233efe0dc.tar.xz linux-311d16da575f53c3367099579736c1d233efe0dc.zip |
ftrace: Return EINVAL when writing invalid val to set_ftrace_filter
Currently it doesn't warn user on invald value:
# echo nonexist_symbol > set_ftrace_filter
or:
# echo 'nonexist_symbol:mod:fuse' > set_ftrace_filter
Better make it return failure.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
LKML-Reference: <4B1DC4BF.2070003@cn.fujitsu.com>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Diffstat (limited to 'kernel/compat.c')
0 files changed, 0 insertions, 0 deletions