From: David Miller <davem@davemloft.net>
To: frextrite@gmail.com
Cc: kuba@kernel.org, gregkh@linuxfoundation.org, tglx@linutronix.de,
rfontana@redhat.com, allison@lohutok.net, pabeni@redhat.com,
netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-kernel-mentees@lists.linuxfoundation.org,
joel@joelfernandes.org, madhuparnabhowmik10@gmail.com,
paulmck@kernel.org, lkp@intel.com
Subject: Re: [PATCH] net: caif: Add lockdep expression to RCU traversal primitive
Date: Wed, 11 Mar 2020 22:55:45 -0700 (PDT) [thread overview]
Message-ID: <20200311.225545.780993448550563267.davem@davemloft.net> (raw)
In-Reply-To: <20200312053419.12258-1-frextrite@gmail.com>
From: Amol Grover <frextrite@gmail.com>
Date: Thu, 12 Mar 2020 11:04:20 +0530
> caifdevs->list is traversed using list_for_each_entry_rcu()
> outside an RCU read-side critical section but under the
> protection of rtnl_mutex. Hence, add the corresponding lockdep
> expression to silence the following false-positive warning:
>
> [ 10.868467] =============================
> [ 10.869082] WARNING: suspicious RCU usage
> [ 10.869817] 5.6.0-rc1-00177-g06ec0a154aae4 #1 Not tainted
> [ 10.870804] -----------------------------
> [ 10.871557] net/caif/caif_dev.c:115 RCU-list traversed in non-reader section!!
>
> Reported-by: kernel test robot <lkp@intel.com>
> Signed-off-by: Amol Grover <frextrite@gmail.com>
Applied, thank you.
prev parent reply other threads:[~2020-03-12 5:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-12 5:34 Amol Grover
2020-03-12 5:55 ` David Miller [this message]
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=20200311.225545.780993448550563267.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=allison@lohutok.net \
--cc=frextrite@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=joel@joelfernandes.org \
--cc=kuba@kernel.org \
--cc=linux-kernel-mentees@lists.linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lkp@intel.com \
--cc=madhuparnabhowmik10@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=paulmck@kernel.org \
--cc=rfontana@redhat.com \
--cc=tglx@linutronix.de \
/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
all inboxes | Powered by JetHome®