From: Andrew Gallatin <gallatin@myri.com>
To: Fengguang Wu <fengguang.wu@intel.com>
Cc: netdev@vger.kernel.org, Christopher Li <sparse@chrisli.org>,
Stephen Hemminger <shemminger@vyatta.com>
Subject: Re: [net-next:master 98/98] drivers/net/ethernet/myricom/myri10ge/myri10ge.c:1286:34: sparse: cast to restricted __be16
Date: Mon, 03 Dec 2012 14:21:14 -0500 [thread overview]
Message-ID: <50BCFBAA.5060001@myri.com> (raw)
In-Reply-To: <20121130220228.GA22050@localhost>
I think I have a handle on most of the pre-existing warnings. The
device responds to BAR reads/writes with big endian data, while
I think everything expects little endian. These will be easy
to fix. The warning I don't see a fix for is this:
drivers/net/ethernet/myricom/myri10ge/myri10ge.c:1434:35: warning:
context imbalance in 'myri10ge_intr' - different lock contexts for basic
block
Which is apparently triggered by using __netif_tx_trylock().
Is there something I'm missing, or does sparse just not like
__netif_tx_trylock() because it divides spinlock acquisition and
release into 2 different functions?
Thanks,
Drew
next prev parent reply other threads:[~2012-12-03 19:21 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-30 21:02 [net-next:master 98/98] drivers/net/ethernet/myricom/myri10ge/myri10ge.c:1286:34: sparse: cast to restricted __be16 kbuild test robot
2012-11-30 21:51 ` Andrew Gallatin
2012-11-30 21:53 ` Stephen Hemminger
2012-11-30 22:02 ` Fengguang Wu
2012-11-30 22:19 ` Andrew Gallatin
2012-12-03 19:21 ` Andrew Gallatin [this message]
2012-12-03 20:13 ` Christopher Li
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=50BCFBAA.5060001@myri.com \
--to=gallatin@myri.com \
--cc=fengguang.wu@intel.com \
--cc=netdev@vger.kernel.org \
--cc=shemminger@vyatta.com \
--cc=sparse@chrisli.org \
/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