diff options
author | Dan Carpenter <[email protected]> | 2011-08-25 15:59:04 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2011-08-25 16:25:33 -0700 |
commit | 58299449257566613f58dcfb757f0ba4a377987a (patch) | |
tree | 785b783e2638ae5482a75d15ef4f4e2a2b9790cc /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 2df7a7d1cd07626dd235ca102830ebfc6c01a09e (diff) |
w1: fix for loop in w1_f29_remove_slave()
The for loop was looking for i <= 0 instead of i >= 0 so this function
never did anything. Also we started with i = NB_SYSFS_BIN_FILES instead
of "NB_SYSFS_BIN_FILES - 1" which is an off by one bug.
Reported-by: Bojan Prtvar <[email protected]>
Signed-off-by: Dan Carpenter <[email protected]>
Acked-by: Jean-Franois Dagenais <[email protected]>
Cc: Evgeniy Polyakov <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions