Thread (11 messages) flat view 11 messages, 4 authors, 2017-08-24

RE: [PATCH net-next v3 2/7] netvsc: fix warnings reported by lockdep

From: Stephen Hemminger <hidden>
Date: 2017-08-24 22:51:29

These are false positives; lockdep is complaining about things that are safe
It is just that annotations were missing or incorrect.

-----Original Message-----
From: David Woodhouse [mailto:dwmw2@infradead.org] 
Sent: Thursday, August 24, 2017 1:37 AM
To: Stephen Hemminger <stephen@networkplumber.org>; KY Srinivasan <kys@microsoft.com>; Haiyang Zhang <haiyangz@microsoft.com>; Stephen Hemminger <redacted>
Cc: devel@linuxdriverproject.org; netdev@vger.kernel.org
Subject: Re: [PATCH net-next v3 2/7] netvsc: fix warnings reported by lockdep

On Fri, 2017-07-28 at 08:59 -0700, Stephen Hemminger wrote:
This includes a bunch of fixups for issues reported by
lockdep.
   * ethtool routines can assume RTNL
   * send is done with RCU lock (and BH disable)
   * avoid refetching internal device struct (netvsc)
     instead pass it as a parameter.

Signed-off-by: Stephen Hemminger <redacted>
The subject and the commit message are inconsistent — is this fixing
*warnings* (i.e. shut up a false positive), or is it fixing *issues*?
It looks like it's actually fixing issues, not just warnings?

It's really useful to get that right.

FWIW the reason I'm looking in my netdev@ folder for lockdep warning
fixes is because I was trying to confirm whether the commit message in
https://patchwork.kernel.org/patch/4372391/ is actually telling the
truth or not — in that case I think it *is* just a false positive being
shut up (and thus it's OK to say "fix warning"), not really fixing a
true issue.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help