diff options
author | Andrew Gallatin <gallatin@myri.com> | 2012-12-04 11:17:15 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-12-05 22:01:27 +0100 |
commit | 59e955edb763375f8211c009c628ca37f1bc46c0 (patch) | |
tree | 16967ed85644a64ca68146268c854e8cf4c153c7 /drivers/net/ethernet/davicom/dm9000.h | |
parent | bridge: implement multicast fast leave (diff) | |
download | linux-59e955edb763375f8211c009c628ca37f1bc46c0.tar.xz linux-59e955edb763375f8211c009c628ca37f1bc46c0.zip |
myri10ge: fix most sparse warnings
- convert remaining htonl/ntohl +__raw_read/__raw_writel to
swab32 + readl/writel
- add missing __iomem qualifier in myri10ge_open()
- fix dubious: x & !y warning by switching from logical to bitwise not
The swab32 conversion fixes a bug in myri10ge_led() where
big-endian machines would write the wrong pattern.
The only remaining warning (lock context imbalance) is due to
the use of __netif_tx_trylock(), and cannot easily be fixed.
Signed-off-by: Andrew Gallatin <gallatin@myri.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/davicom/dm9000.h')
0 files changed, 0 insertions, 0 deletions