diff options
author | Nicolas Kaiser <nikai@nikai.net> | 2010-10-22 12:47:24 +0200 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2010-10-26 11:58:00 +0200 |
commit | 89a82280a8e632b7a5b0ce70dd5bccfa2d3bc2c5 (patch) | |
tree | edf833a4eca968961cca4d3612e6b405b9bcf73f /drivers/mtd/chips | |
parent | P4080/mtd: Fix the freescale lbc issue with 36bit mode (diff) | |
download | linux-89a82280a8e632b7a5b0ce70dd5bccfa2d3bc2c5.tar.xz linux-89a82280a8e632b7a5b0ce70dd5bccfa2d3bc2c5.zip |
block2mtd: dubious assignment
When block2mtd_erase fails, a duplicated assignment instantly
changes instr->state from MTD_ERASE_FAILED to MTD_ERASE_DONE.
It looks to me like this might not be intended, or is it?
Signed-off-by: Nicolas Kaiser <nikai@nikai.net>
Acked-By: Joern Engel <joern@logfs.org>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/chips')
0 files changed, 0 insertions, 0 deletions