diff options
author | John Ogness <[email protected]> | 2011-01-21 15:39:02 +0100 |
---|---|---|
committer | Artem Bityutskiy <[email protected]> | 2011-01-26 10:14:17 +0200 |
commit | e8cfe009436f9ab6f4234e1f7c406c231747925c (patch) | |
tree | 5b076f5ea37c12cfaf17770647f2ecd4cae1a202 /tools/perf/scripts/python | |
parent | d4c6381303163e774a72db8c172cdc5c23f01588 (diff) |
UBI: cleanup LEB start calculations
Wrong macro was used in calculating the data offset: UBI_EC_HDR_SIZE instead of
UBI_VID_HDR_SIZE. The data offset should be VID header offset + VID header size
(aligned to the minimum I/O unit).
This was not a bug only because currently UBI_EC_HDR_SIZE and UBI_VID_HDR_SIZE
have the same value of 64 bytes.
Commit message was amended by Artem.
Signed-off-by: John Ogness <[email protected]>
Signed-off-by: Artem Bityutskiy <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions