diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2009-12-08 03:15:11 (GMT) |
---|---|---|
committer | Frederic Weisbecker <fweisbec@gmail.com> | 2009-12-13 17:37:25 (GMT) |
commit | 311d16da575f53c3367099579736c1d233efe0dc (patch) | |
tree | 6fea069fc00f50afac428021989d037f0bb0162f /kernel/kgdb.c | |
parent | 3b8e4273814a7f9e9a74ece517d9206fea919aaa (diff) | |
download | linux-fsl-qoriq-311d16da575f53c3367099579736c1d233efe0dc.tar.xz |
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/kgdb.c')
0 files changed, 0 insertions, 0 deletions