commit | 14a9faa96fb65fd9f7e584971e6753dca4ae0e46 | [log] [tgz] |
---|---|---|
author | mwleeds@mailtundra.com <mwleeds@mailtundra.com> | Sat Apr 06 18:47:25 2024 -0700 |
committer | Tom Rini <trini@konsulko.com> | Wed Apr 17 10:08:48 2024 -0600 |
tree | 3a34fafe62c03a2ae0f9af2a631855cae513992d | |
parent | d8adb496f843746d546860bbef7e108de7a219d3 [diff] |
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: Phaedrus Leeds <mwleeds@mailtundra.com>