RFC rcu: fix sparse warnings
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest5 patches 10 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | kernel/rcu/tree.c:1272 fix a sparse warningkernel/ | +35 | 3 replies | |
| 2/5 | kernel/rcu/tree_plugin.h:1494 fix a sparse warningkernel/ | +2 | 1 reply | |
| 3/5 | kernel/rcu/tree_plugin.h:990 fix a sparse warningkernel/ | +1 | 1 reply | |
| 4/5 | kernel/rcu/tree.c:3435 fix a sparse warningkernel/ | +4 | 2 replies | |
| 5/5 | kernel/rcu/rcutorture.c:185 fix a sparse warningkernel/ | +1 | 3 replies |
Reviews trailers per patch
1 of 5 patches has a Reviewed-by or Acked-by.
| Patch | Josh Triplett |
|---|---|
| 1/5 | |
| 2/5 | |
| 3/5 | |
| 4/5 | |
| 5/5 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [RFC PATCH 0/5] rcu: fix sparse warnings
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(-)
Signature · 1 line
1.9.1