Re: [RFC PATCH 4/5] kernel/rcu/tree.c:3435 fix a sparse warning

2014-06-11 Thread Pranith Kumar
On Wed, Jun 11, 2014 at 5:25 PM, wrote: > On Wed, Jun 11, 2014 at 04:39:42PM -0400, Pranith Kumar wrote: >> kernel/rcu/tree.c:3435:21: warning: incorrect type in argument 1 (different >> modifiers) >> kernel/rcu/tree.c:3435:21:expected int ( *threadfn )( ... ) >> kernel/rcu/tree.c:3435:21:

Re: [RFC PATCH 4/5] kernel/rcu/tree.c:3435 fix a sparse warning

2014-06-11 Thread josh
On Wed, Jun 11, 2014 at 04:39:42PM -0400, Pranith Kumar wrote: > kernel/rcu/tree.c:3435:21: warning: incorrect type in argument 1 (different > modifiers) > kernel/rcu/tree.c:3435:21:expected int ( *threadfn )( ... ) > kernel/rcu/tree.c:3435:21:got int ( static [toplevel] [noreturn] > *

[RFC PATCH 4/5] kernel/rcu/tree.c:3435 fix a sparse warning

2014-06-11 Thread Pranith Kumar
kernel/rcu/tree.c:3435:21: warning: incorrect type in argument 1 (different modifiers) kernel/rcu/tree.c:3435:21:expected int ( *threadfn )( ... ) kernel/rcu/tree.c:3435:21:got int ( static [toplevel] [noreturn] * )( ... ) by removing __noreturn attribute and adding unreachable() as

[RFC PATCH 4/5] kernel/rcu/tree.c:3435 fix a sparse warning

2014-06-11 Thread Pranith Kumar
kernel/rcu/tree.c:3435:21: warning: incorrect type in argument 1 (different modifiers) kernel/rcu/tree.c:3435:21:expected int ( *threadfn )( ... ) kernel/rcu/tree.c:3435:21:got int ( static [toplevel] [noreturn] *noident )( ... ) by removing __noreturn attribute and adding unreachable()

Re: [RFC PATCH 4/5] kernel/rcu/tree.c:3435 fix a sparse warning

2014-06-11 Thread josh
On Wed, Jun 11, 2014 at 04:39:42PM -0400, Pranith Kumar wrote: kernel/rcu/tree.c:3435:21: warning: incorrect type in argument 1 (different modifiers) kernel/rcu/tree.c:3435:21:expected int ( *threadfn )( ... ) kernel/rcu/tree.c:3435:21:got int ( static [toplevel] [noreturn] *noident

Re: [RFC PATCH 4/5] kernel/rcu/tree.c:3435 fix a sparse warning

2014-06-11 Thread Pranith Kumar
On Wed, Jun 11, 2014 at 5:25 PM, j...@joshtriplett.org wrote: On Wed, Jun 11, 2014 at 04:39:42PM -0400, Pranith Kumar wrote: kernel/rcu/tree.c:3435:21: warning: incorrect type in argument 1 (different modifiers) kernel/rcu/tree.c:3435:21:expected int ( *threadfn )( ... )