commit | ded4c55d108e0e4e4ba221b39a782e85d77a5ca0 | [log] [tgz] |
---|---|---|
author | Sachin Kamat <sachin.kamat@linaro.org> | Fri Nov 16 16:08:22 2012 +0530 |
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | Sun Nov 18 12:44:38 2012 +0200 |
tree | 174b12ca34284777de7fd47586b9f09409a5f743 | |
parent | 2cbba75a56ea78e6876b4e2547a882f10b3fe72b [diff] |
mtd: s3c2410: Fix potential NULL pointer dereference error 'set' is tested for NULL. But subsequently accessed without the check. Thus making it conditional to avoid NULL pointer dereferencing. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>