commit | f6f0f81895ad8272905bf3d637b7c99a62238d79 | [log] [tgz] |
---|---|---|
author | David Woodhouse <dwmw2@infradead.org> | Fri Nov 30 16:24:52 2007 +0000 |
committer | David Woodhouse <dwmw2@infradead.org> | Mon Dec 03 12:49:38 2007 +0000 |
tree | 147dab59d278dccaf45971060df5e7653a2bfb6f | |
parent | 5d3cce3b8ef45317c59487f4d83dc43c355ae40a [diff] |
[MTD] [NOR] Fix overflow check in jedec_probe Having laid the code out so that it's easier to read instead of sticking to the 80-column guideline even when it doesn't make sense, a bug is immediately spotted... we were only checking _one_ of the unlock addresses to see if it runs off the end of the map. Signed-off-by: David Woodhouse <dwmw2@infradead.org>