summaryrefslogtreecommitdiffstats
path: root/drivers/w1/w1.h
diff options
context:
space:
mode:
authorDavid Fries <david@fries.net>2008-10-16 07:04:50 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2008-10-16 20:21:50 +0200
commit07e003417b88deac4b887c98f499fc3b01bc8df0 (patch)
tree2b5ea6b20ec8c456fcb686f13c3607cfcd15e8ff /drivers/w1/w1.h
parentW1: Document add, remove, search_count, and pullup. (diff)
downloadlinux-07e003417b88deac4b887c98f499fc3b01bc8df0.tar.xz
linux-07e003417b88deac4b887c98f499fc3b01bc8df0.zip
W1: w1_slave_read_id read bug, use device_attribute
Fix bug reading the id sysfs file. If less than the full 8 bytes were read, the next read would start at the first byte instead of continuing. It needed the offset added to memcpy, or the better solution was to replace it with the device attribute instead of bin attribute. Signed-off-by: David Fries <david@fries.net> Signed-off-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/w1/w1.h')
0 files changed, 0 insertions, 0 deletions