commit | ad5942bad6addcf9697a74413b517d9724d803a4 | [log] [tgz] |
---|---|---|
author | Stefan Roese <sr@denx.de> | Wed Dec 10 10:42:54 2008 +0100 |
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | Wed Dec 10 14:28:48 2008 +0200 |
tree | efaf29500212d1ae0be78377e9aa3cc607959719 | |
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>