From: Andrew Gallatin Date: Tue, 4 Dec 2012 10:17:15 +0000 (+0000) Subject: myri10ge: fix most sparse warnings X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~45^2~79 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=59e955edb763375f8211c009c628ca37f1bc46c0;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed