Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment