aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorEvgeniy Polyakov <[email protected]>2008-12-23 21:57:12 +0000
committerLinus Torvalds <[email protected]>2008-12-23 23:58:21 +0000
commitf00a189257836e5237ace3265f6991ef66a16c86 (patch)
tree36578b6efa3dafa6487a513fb7b6b00071a1bb62 /net/unix/af_unix.c
parentrtc: rtc-isl1208: reject invalid dates (diff)
downloadkernel-f00a189257836e5237ace3265f6991ef66a16c86.tar.gz
kernel-f00a189257836e5237ace3265f6991ef66a16c86.zip
w1: fix slave selection on big-endian systems
During test of the w1-gpio driver i found that in "w1.c:679 w1_slave_found()" the device id is converted to little-endian with "cpu_to_le64()", but its not converted back to cpu format in "w1_io.c:293 w1_reset_select_slave()". Based on a patch created by Andreas Hummel. [[email protected]: remove unneeded cast] Reported-by: Andreas Hummel <[email protected]> Signed-off-by: Evgeniy Polyakov <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions