git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0373615
)
[MTD] [NAND] Fix an off-by-one in a BUG_ON in CAFÉ ECC correction.
author
Adrian Bunk
<bunk@stusta.de>
Fri, 2 Feb 2007 14:29:19 +0000
(15:29 +0100)
committer
David Woodhouse
<dwmw2@infradead.org>
Fri, 9 Feb 2007 15:06:02 +0000
(15:06 +0000)
err_pos_lut[4096] of an array with 4096 elements is a bug.
Spotted by the Coverity checker.
While I was at it, I also converted it to ARRAY_SIZE().
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
No differences found