commit | eff3bba61fc19a64a1ca56343e38b6506bef9dea | [log] [tgz] |
---|---|---|
author | john.maxin@nokia.com <john.maxin@nokia.com> | Fri May 06 09:17:21 2011 +0000 |
committer | David Woodhouse <David.Woodhouse@intel.com> | Wed May 25 02:01:38 2011 +0100 |
tree | 10f2c7cabc65d4385cedc76ee95b0eb7ad279cf0 | |
parent | 26d9be11485ea8c1102c3e8eaa7667412eef4950 [diff] |
mtd: onenand: add missing check Coverity has reported that inside the function "onenand_block_by_block_erase()" in onenand_base.c, we should add a check to prevent the incrementing of possible NULL value for "region" Signed-off-by: Maxin B. John <john.maxin@nokia.com> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>