diff options
| author | David Fries <[email protected]> | 2008-10-15 22:04:50 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2008-10-16 11:21:50 -0700 |
| commit | 07e003417b88deac4b887c98f499fc3b01bc8df0 (patch) | |
| tree | 2b5ea6b20ec8c456fcb686f13c3607cfcd15e8ff /tools/perf/scripts/python | |
| parent | eba3b06da4bd8b79fe6c8ed922a319362c1a40c0 (diff) | |
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 <[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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions