[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090105200758.GC6204@uranus.ravnborg.org>
Date: Mon, 5 Jan 2009 21:07:58 +0100
From: Sam Ravnborg <sam@...nborg.org>
To: Steven Rostedt <rostedt@...dmis.org>
Cc: LKML <linux-kernel@...r.kernel.org>,
Steven Rostedt <srostedt@...hat.com>,
Ingo Molnar <mingo@...e.hu>,
"David S. Miller" <davem@...emloft.net>,
sparclinux <sparclinux@...r.kernel.org>
Subject: Re: [PATCH] sparc: make proces_ver_nack a bit more readable
On Mon, Jan 05, 2009 at 02:56:58PM -0500, Steven Rostedt wrote:
>
> On Mon, 5 Jan 2009, Steven Rostedt wrote:
>
> >
> > Impact: clean up
> >
> > The code in process_ver_nack is a little obfuscated. This change
> > makes it a bit more readable by humans. It removes the complex
> > if statement and replaces it with a cleaner flow of control.
> >
> > Signed-off-by: Steven Rostedt <srostedt@...hat.com>
>
> Sam,
>
> Can you test to see if this patch makes the issue go away. Obviously, Dave
> would need to be the one to pull it in, or at least ack it.
As expected the patch silence the warning.
The warning only triggers when we have an assignment
after a boolean || inside an if condition.
Sam
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists