UBI: Return -ENOMEM upon failing malloc
authorStefan Roese <sr@denx.de>
Wed, 10 Dec 2008 09:28:33 +0000 (10:28 +0100)
committerStefan Roese <sr@denx.de>
Wed, 10 Dec 2008 11:55:23 +0000 (12:55 +0100)
Return with correct error code (-ENOMEM) from ubi_attach_mtd_dev() upon
failing malloc().

Signed-off-by: Stefan Roese <sr@denx.de>

No differences found