mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Pranith Kumar <bobby.prani@gmail.com>
To: paulmck@linux.vnet.ibm.com, linux-kernel@vger.kernel.org
Subject: [RFC PATCH 0/5] rcu: fix sparse warnings
Date: Wed, 11 Jun 2014 16:39:38 -0400	[thread overview]
Message-ID: <1402519183-12752-1-git-send-email-bobby.prani@gmail.com> (raw)

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


             reply	other threads:[~2014-06-11 20:39 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-11 20:39 Pranith Kumar [this message]
2014-06-11 20:39 ` [RFC PATCH 1/5] kernel/rcu/tree.c:1272 fix a sparse warning Pranith Kumar
2014-06-12 23:16   ` Paul E. McKenney
2014-06-13  4:54     ` Pranith Kumar
2014-06-13  5:52       ` Pranith Kumar
2014-06-11 20:39 ` [RFC PATCH 2/5] kernel/rcu/tree_plugin.h:1494 " Pranith Kumar
2014-06-26 19:39   ` Paul E. McKenney
2014-06-11 20:39 ` [RFC PATCH 3/5] kernel/rcu/tree_plugin.h:990 " Pranith Kumar
2014-06-26 19:39   ` Paul E. McKenney
2014-06-11 20:39 ` [RFC PATCH 4/5] kernel/rcu/tree.c:3435 " Pranith Kumar
2014-06-11 21:25   ` josh
2014-06-12  1:37     ` Pranith Kumar
2014-06-11 20:39 ` [RFC PATCH 5/5] kernel/rcu/rcutorture.c:185 " Pranith Kumar
2014-06-11 21:47   ` josh
2014-07-08 22:35     ` Paul E. McKenney
2014-07-08 22:46       ` Pranith Kumar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1402519183-12752-1-git-send-email-bobby.prani@gmail.com \
    --to=bobby.prani@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=paulmck@linux.vnet.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome