diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2007-10-14 20:41:29 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-14 21:41:52 +0200 |
commit | 325a80715f6dba4b12479f8bb011d96093a47374 (patch) | |
tree | 4c262402f52ea91379acda114d7b8dc47f175cc4 /drivers/hwmon/adm1031.c | |
parent | ipg: endianness annotations (diff) | |
download | linux-325a80715f6dba4b12479f8bb011d96093a47374.tar.xz linux-325a80715f6dba4b12479f8bb011d96093a47374.zip |
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>
Diffstat (limited to 'drivers/hwmon/adm1031.c')
0 files changed, 0 insertions, 0 deletions