aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2014-12-10 15:41:37 -0800
committerLinus Torvalds <[email protected]>2014-12-10 17:41:03 -0800
commit519a286175b6422e13694ebb73aefee0b5749443 (patch)
tree9be49e211258e1d6eb874f55f357f710406b9ba4 /tools/perf/scripts/python/check-perf-trace.py
parentf08736bd6c54c33b91d4324eee5713ca6f13319a (diff)
ocfs2: fix an off-by-one BUG_ON() statement
The ->si_slots[] array is allocated in ocfs2_init_slot_info() it has "->max_slots" number of elements so this test should be >= instead of >. Static checker work. Compile tested only. Signed-off-by: Dan Carpenter <[email protected]> Cc: Mark Fasheh <[email protected]> Cc: Joel Becker <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions