[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140206164558.GV2936@laptop.programming.kicks-ass.net>
Date: Thu, 6 Feb 2014 17:45:58 +0100
From: Peter Zijlstra <peterz@...radead.org>
To: Johannes Berg <johannes@...solutions.net>
Cc: LKML <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
"H. Peter Anvin" <hpa@...ux.intel.com>,
Steven Rostedt <rostedt@...dmis.org>,
Ingo Molnar <mingo@...hat.com>
Subject: Re: [PATCH] sched/wait: suppress sparse 'variable shadowing' warning
On Thu, Feb 06, 2014 at 05:28:41PM +0100, Johannes Berg wrote:
> From: Johannes Berg <johannes.berg@...el.com>
>
> This warning seems to show up a lot now, since ___wait_event()
> is (indirectly) used inside wait_event_timeout(), which also
> has a variable called __ret. Rename the one in ___wait_event()
> to ___ret (another leading underscore) to suppress the warning.
>
> Signed-off-by: Johannes Berg <johannes.berg@...el.com>
Thanks!
--
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