Skip to content
Commit ad5942ba authored by Stefan Roese's avatar Stefan Roese Committed by Artem Bityutskiy
Browse files

UBI: return -ENOMEM upon failing vmalloc



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

Signed-off-by: default avatarStefan Roese <sr@denx.de>
Signed-off-by: default avatarArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
parent 8e26e1d7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment