summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/redboot.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2007-02-02 15:29:19 +0100
committerDavid Woodhouse <dwmw2@infradead.org>2007-02-09 16:06:02 +0100
commitd24030f0f71390b1a01796d664445352bd403269 (patch)
treefc993b1618c48aa6525750b70fc5ffd48f476d02 /drivers/mtd/redboot.c
parent[MTD] [NAND] Correctly validate out-of-band offset and length (diff)
downloadlinux-d24030f0f71390b1a01796d664445352bd403269.tar.xz
linux-d24030f0f71390b1a01796d664445352bd403269.zip
[MTD] [NAND] Fix an off-by-one in a BUG_ON in CAFÉ ECC correction.
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>
Diffstat (limited to 'drivers/mtd/redboot.c')
0 files changed, 0 insertions, 0 deletions