u-boot/fs
Ilias Apalodimas 67be24906f lmb: change the return code on lmb_alloc_addr()
Ben reports a failure to boot the kernel on hardware that starts its
physical memory from 0x0.
The reason is that lmb_alloc_addr(), which is supposed to reserve a
specific address, takes the address as the first argument, but then also
returns the address for success or failure and treats 0 as a failure.

Since we already know the address change the prototype to return an int.

Reported-by: Ben Schneider <ben@bens.haus>
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Tested-by: Ben Schneider <ben@bens.haus>
Reviewed-by: Sughosh Ganu <sughosh.ganu@linaro.org>
2025-03-24 11:12:33 -06:00
..
btrfs fs: btrfs: hide duplicate 'Cannot lookup file' error on 'load' 2024-11-15 13:11:47 -06:00
cbfs Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
cramfs fs/cramfs: use schedule instead of cyclic_run as callback 2024-10-23 06:52:38 +02:00
erofs fs/erofs: fix an integer overflow in symlink resolution 2025-02-18 12:32:07 -06:00
ext4 fs: ext4: correct error handling 2024-11-13 08:18:50 -06:00
fat global: Rename SPL_ to XPL_ 2024-10-11 11:44:48 -06:00
jffs2 fs: Remove duplicate newlines 2024-07-15 12:12:17 -06:00
sandbox global: Rename SPL_TPL_ to PHASE_ 2024-10-11 11:44:48 -06:00
squashfs fs/squashfs: Fix memory leak in sqfs_size_nest() 2025-03-05 12:14:31 -06:00
ubifs fs: ubifs: Remove unnecessary assignment 2025-01-28 06:44:18 +01:00
zfs fs: Remove duplicate newlines 2024-07-15 12:12:17 -06:00
fs.c lmb: change the return code on lmb_alloc_addr() 2025-03-24 11:12:33 -06:00
fs_internal.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
Kconfig fs: eliminate YAFFS2 implementation 2025-01-20 08:32:48 -06:00
Makefile fs: eliminate YAFFS2 implementation 2025-01-20 08:32:48 -06:00
semihostingfs.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00