Skip to content
Commit 81732935 authored by Stefan Roese's avatar Stefan Roese
Browse files

UBI: Return -ENOMEM upon failing malloc



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

Signed-off-by: default avatarStefan Roese <sr@denx.de>
parent 2d2e0572
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment