From: Roland Dreier Date: Tue, 1 Jul 2008 17:22:45 +0000 (-0700) Subject: pasemi_mac: Access iph->tot_len with correct endianness X-Git-Tag: v2.6.26~51^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=773212337941c5e26a05989532943877d72a2c83;p=pandora-kernel.git pasemi_mac: Access iph->tot_len with correct endianness iph->tot_len is stored in network byte order, so access it using ntohs(). This doesn't have any real world impact on pasemi_mac, since the device only exists as part of a big-endian system-on-chip, but fixing this gets rid of a sparse warning and avoids having a bad example in the tree. Signed-off-by: Roland Dreier Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed