diff options
author | 2008-03-26 05:57:12 +0000 | |
---|---|---|
committer | 2008-04-04 17:26:16 -0400 | |
commit | 30ecce908b944079181938e61ddbc00c8b23798c (patch) | |
tree | 3f19b22d2b9f9aabec197d7d48fcd756df0456ba /fs/xfs/xfs_log.c | |
parent | net/tokenring/olympic.c section fixes (diff) | |
download | wireguard-linux-30ecce908b944079181938e61ddbc00c8b23798c.tar.xz wireguard-linux-30ecce908b944079181938e61ddbc00c8b23798c.zip |
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 <viro@zeniv.linux.org.uk>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'fs/xfs/xfs_log.c')
0 files changed, 0 insertions, 0 deletions