UBI: fix return code in ubi_volume_read
Return -ENODEV instead of 0 when trying to read from a non existing volume. Signed-off-by: NAndreas Huber <andreas.huber@keymile.com> Signed-off-by: NStefan Roese <sr@denx.de>
Showing
想要评论请 注册 或 登录