Messages in this thread | | | Date | Thu, 6 Sep 2012 13:30:56 -0700 | From | "Paul E. McKenney" <> | Subject | Re: [PATCH tip/core/rcu 06/23] rcu: Break up rcu_gp_kthread() into subfunctions |
| |
On Thu, Sep 06, 2012 at 09:09:01PM +0200, Peter Zijlstra wrote: > On Thu, 2012-09-06 at 11:49 -0700, Josh Triplett wrote: > > > > Huh, I thought GCC knew to not emit that warning unless it actually > > found control flow reaching the end of the function; since the > > infinite > > loop has no break in it, you shouldn't need the return. Annoying. > > tag the function with __noreturn
Ah, I will try that.
Thanx, Paul
| |