lkml.org 
[lkml]   [2012]   [Sep]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH tip/core/rcu 06/23] rcu: Break up rcu_gp_kthread() into subfunctions
    From
    Date
    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


    \
     
     \ /
      Last update: 2012-09-06 21:43    [W:7.538 / U:0.328 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site