diff options
author | Dan Carpenter <error27@gmail.com> | 2010-05-07 12:59:06 +0400 |
---|---|---|
committer | Joern Engel <joern@logfs.org> | 2010-05-07 16:16:09 +0400 |
commit | ccf31c10f125ab5233c8517f91d4b3bd0bd60936 (patch) | |
tree | 88bc1107c31a8a325703ed40ffdba4e3af9754b8 /sound/sparc | |
parent | 58e323cf5e4ed621a6e88263aca40c3d9c3d9bfd (diff) | |
download | linux-ccf31c10f125ab5233c8517f91d4b3bd0bd60936.tar.xz |
logfs: handle errors from get_mtd_device()
The get_mtd_device() function returns error pointers on failure and if we
don't handle it, it leads to a crash.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Joern Engel <joern@logfs.org>
Diffstat (limited to 'sound/sparc')
0 files changed, 0 insertions, 0 deletions