diff options
| author | Zhaoxiu Zeng <[email protected]> | 2016-04-12 15:30:35 +0800 |
|---|---|---|
| committer | Boris Brezillon <[email protected]> | 2016-04-19 22:04:53 +0200 |
| commit | 03a97550941d17c7d5b621afde5945bbc0da6546 (patch) | |
| tree | ddc3880ce6dfb086056a73cd02d3125a0df77495 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 7a654172161c8c9c7d59cbd0054d9e63c7411219 (diff) | |
mtd: nand: s3c2410: fix bug in s3c2410_nand_correct_data()
If there is only one bit difference in the ECC, the function should
return 1.
The result of "diff0 & ~(1<<fls(diff0))" is equal to diff0, so the
function actually returns -1.
Signed-off-by: Zhaoxiu Zeng <[email protected]>
Signed-off-by: Boris Brezillon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions