[RFC PATCH 0/5] rcu: fix sparse warnings
From: Pranith Kumar
Date: Wed Jun 11 2014 - 16:41:05 EST
The following patch series fixes sparse warning. There are still 3 warnings left
which I am figuring out. I wanted to send these to get feedback and see if I am
on the right path.
Patch 1 is the significant one which involves some refactoring. I am guessing
the 3 remaining sparse warnings will require similar refactoring.
Patch 4 remove the __noreturn attribute as this confuses sparse. I am not sure
if removing this is the right thing to do or if we should be fixing sparse.
The other 3 are trivial.
Pranith Kumar (5):
kernel/rcu/tree.c:1272 fix a sparse warning
kernel/rcu/tree_plugin.h:1494 fix a sparse warning
kernel/rcu/tree_plugin.h:990 fix a sparse warning
kernel/rcu/tree.c:3435 fix a sparse warning
kernel/rcu/rcutorture.c:185 fix a sparse warning
kernel/rcu/rcutorture.c | 2 +-
kernel/rcu/tree.c | 70 +++++++++++++++++++++++++++---------------------
kernel/rcu/tree_plugin.h | 3 +++
3 files changed, 43 insertions(+), 32 deletions(-)
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/