]> git.sur5r.net Git - u-boot/commit
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)
commit817329351639a8895cd9b87b33aeff043f3d5a44
treebd1ec35c528060bffbc662218cd728e177665cf6
parent2d2e05727fe4013f807ffa814dff0e75259a1db4
UBI: Return -ENOMEM upon failing malloc

Return with correct error code (-ENOMEM) from ubi_attach_mtd_dev() upon
failing malloc().

Signed-off-by: Stefan Roese <sr@denx.de>
drivers/mtd/ubi/build.c