diff options
author | Brian Norris <computersforpeace@gmail.com> | 2014-07-21 19:06:39 -0700 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2014-08-19 11:53:07 -0700 |
commit | f7f0d358f5f2f1133b5a14337028ddab848cd74e (patch) | |
tree | 2aa983dc7a894d0801f7d9b9bf115f48768ccd85 /drivers/mtd/mtdcore.c | |
parent | 0c2b4e21444d0e274e91fc7db85caddb30988853 (diff) | |
download | lwn-f7f0d358f5f2f1133b5a14337028ddab848cd74e.tar.gz lwn-f7f0d358f5f2f1133b5a14337028ddab848cd74e.zip |
mtd: sm_ftl: initialize error code
There is one theoretical case that could fall through to using an
uninitialized value as the return code. Let's give it a value of 0.
Untested.
Caught by Coverity.
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd/mtdcore.c')
0 files changed, 0 insertions, 0 deletions