commit | 9b96918a974fcd6c9e752cc8b28157f776c601d3 | [log] [tgz] |
---|---|---|
author | Ramax Lo <ramaxlo@gmail.com> | Thu Jan 14 10:15:05 2010 +0800 |
committer | Ben Dooks <ben-linux@fluff.org> | Thu Jan 14 11:25:44 2010 +0900 |
tree | 7aaf19ea7af8a9dc1cc79425934fd56bdf87ccfb | |
parent | 004b35063296b6772fa72404a35b498f1e71e87e [diff] |
ARM: S3C: NAND: Check the existence of nr_map before copying Since the structure field nr_map is optional, we need to check whether the chip number map is provided to avoid unexpected NULL pointer exception. Signed-off-by: Ramax Lo <ramaxlo@gmail.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>