projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7ebe75
)
ftrace: Fix possible undefined return code
author
GuoWen Li
<guowen.li.linux@gmail.com>
Wed, 1 Jun 2011 11:18:47 +0000
(19:18 +0800)
committer
Steven Rostedt
<rostedt@goodmis.org>
Tue, 7 Jun 2011 02:34:25 +0000
(22:34 -0400)
kernel/trace/ftrace.c: In function 'ftrace_regex_write.clone.15':
kernel/trace/ftrace.c:2743:6: warning: 'ret' may be used uninitialized in this
function
Signed-off-by: GuoWen Li <guowen.li.linux@gmail.com>
Link:
http://lkml.kernel.org/r/201106011918.47939.guowen.li.linux@gmail.com
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/ftrace.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/trace/ftrace.c
b/kernel/trace/ftrace.c
index 1ee417fcbfa5a09c4f337261f6c0867d9143d3de..204b3eb4e690e4d31042c979d2f7da5eb4738577 100644
(file)
--- a/
kernel/trace/ftrace.c
+++ b/
kernel/trace/ftrace.c
@@
-2740,7
+2740,7
@@
static int ftrace_process_regex(struct ftrace_hash *hash,
{
char *func, *command, *next = buff;
struct ftrace_func_command *p;
- int ret;
+ int ret
= -EINVAL
;
func = strsep(&next, ":");