From: Al Viro Date: Wed, 26 Mar 2008 05:57:12 +0000 (+0000) Subject: fix endian lossage in forcedeth X-Git-Tag: v2.6.25-rc9~53^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30ecce908b944079181938e61ddbc00c8b23798c;p=pandora-kernel.git fix endian lossage in forcedeth a) if you initialize something with le32_to_cpu(...), then |= it with host-endian and feed to cpu_to_le32(), it's most definitely *not* __le32. As sparse would've told you... b) the whole sequence is |= cpu_to_le32(host-endian constant) Signed-off-by: Al Viro Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed