ipg: endianness fixes
authorAl Viro <viro@ftp.linux.org.uk>
Sun, 14 Oct 2007 18:41:29 +0000 (19:41 +0100)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 14 Oct 2007 19:41:52 +0000 (12:41 -0700)
commit325a80715f6dba4b12479f8bb011d96093a47374
tree4c262402f52ea91379acda114d7b8dc47f175cc4
parent857e37dc367142f25836fac42e045f08114bd4be
ipg: endianness fixes

if your mask is host-endian, you should apply it after le64_to_cpu();
if it's little-endian - before.  Doing both (for the same mask and
little-endian value) is broken.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/net/ipg.c