diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2010-02-09 12:42:39 +0100 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2010-02-25 13:50:45 +0100 |
commit | 9a5dea7b1046510fdcc81c523405494fd07ec303 (patch) | |
tree | e0fdb9c4abd2fb40c54b10862446bbd19df8fb06 /fs/jffs2 | |
parent | mtdchar: Register the full range of minor numbers (diff) | |
download | linux-9a5dea7b1046510fdcc81c523405494fd07ec303.tar.xz linux-9a5dea7b1046510fdcc81c523405494fd07ec303.zip |
mtd: maps: ceiva: do not return random numbers
When machine_is_ceiva() returns zero, 'clps_setup_flash()' returns a
value of an unitialized variable. Fix this.
Spotted by David Binderman.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'fs/jffs2')
0 files changed, 0 insertions, 0 deletions