diff options
author | Stefan Roese <sr@denx.de> | 2008-12-10 04:42:54 -0500 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-12-10 07:28:48 -0500 |
commit | ad5942bad6addcf9697a74413b517d9724d803a4 (patch) | |
tree | efaf29500212d1ae0be78377e9aa3cc607959719 /drivers/mtd/ubi/wl.c | |
parent | 8e26e1d7bce73acf6f995a4d252610e46ee831a5 (diff) |
UBI: return -ENOMEM upon failing vmalloc
Return with correct error code (-ENOMEM) from ubi_attach_mtd_dev() upon
failing vmalloc().
Signed-off-by: Stefan Roese <sr@denx.de>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'drivers/mtd/ubi/wl.c')
0 files changed, 0 insertions, 0 deletions