public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Li Zefan <lizf@cn.fujitsu.com>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: linux-kernel@vger.kernel.org, Ingo Molnar <mingo@elte.hu>,
	Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [PATCH 1/2] tracing: initialize return value for __ftrace_set_clr_event
Date: Sun, 10 May 2009 14:19:44 +0800	[thread overview]
Message-ID: <4A067200.2020603@cn.fujitsu.com> (raw)
In-Reply-To: <20090508203827.665792546@goodmis.org>

> @@ -118,7 +118,7 @@ static int __ftrace_set_clr_event(const char *match, const char *sub,
>  				  const char *event, int set)
>  {
>  	struct ftrace_event_call *call;
> -	int ret;
> +	int ret = -EINVAL;
>  

Thanks! Seems gcc is not good enough to warn on this
may-be-used-uninitialized..

--
Zefan


  reply	other threads:[~2009-05-10  6:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-08 20:36 [PATCH 0/2] [GIT PULL] tracing: updates for tip Steven Rostedt
2009-05-08 20:36 ` [PATCH 1/2] tracing: initialize return value for __ftrace_set_clr_event Steven Rostedt
2009-05-10  6:19   ` Li Zefan [this message]
2009-05-08 20:36 ` [PATCH 2/2] tracing: add trace_set_clr_event to export event enabling function Steven Rostedt
2009-05-09  4:27 ` [PATCH 0/2] [GIT PULL] tracing: updates for tip Ingo Molnar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A067200.2020603@cn.fujitsu.com \
    --to=lizf@cn.fujitsu.com \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=rostedt@goodmis.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox