Skip to content
Commit 0c17f857 authored by mwleeds@mailtundra.com's avatar mwleeds@mailtundra.com Committed by Tom Rini
Browse files

zfs: Fix malloc() success check



This code was hitting the error code path whenever malloc() succeeded
rather than when it failed, so presumably this part of the code hasn't
been tested. I had to apply this fix (and others) to get U-Boot to boot
from ZFS on an Nvidia Jetson TX2 NX SoM (an aarch64 computer).

Signed-off-by: default avatarPhaedrus Leeds <mwleeds@mailtundra.com>
parent 9cba29b1
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