Re: + rcu-fix-sparse-shadowed-variable-warning.patch added to -mm tree

Previous thread: [PATCH] ftrace: remove direct reference to mcount in trace code by Steven Rostedt on Wednesday, August 27, 2008 - 8:24 pm. (2 messages)

Next thread: [RFC PATCH] ftrace stack tracer by Steven Rostedt on Wednesday, August 27, 2008 - 8:31 pm. (3 messages)
From: Alexey Dobriyan
Date: Wednesday, August 27, 2008 - 8:31 pm

Bzzzrt... just remove second variable.

--

From: Harvey Harrison
Date: Wednesday, August 27, 2008 - 8:51 pm

It would be safe in this case to just remove the second declaration of flags
and reuse it as it is outside the local_irq_save/restore pair.  I did it
this
way in case there are future changes that might mix up the use of flags.

Feel free to just remove the second flags declaration if you'd rather do
it
that way.

Cheers,

Harvey

--

Previous thread: [PATCH] ftrace: remove direct reference to mcount in trace code by Steven Rostedt on Wednesday, August 27, 2008 - 8:24 pm. (2 messages)

Next thread: [RFC PATCH] ftrace stack tracer by Steven Rostedt on Wednesday, August 27, 2008 - 8:31 pm. (3 messages)