u-boot/fs/cbfs
Simon Glass c7bef7cf90 cbfs: Adjust return value of file_cbfs_next_file()
At present this uses a true return to indicate it found a file. Adjust it
to use 0 for this, so it is consistent with other functions.

Update its callers accordingly and add a check for malloc() failure in
file_cbfs_fill_cache().

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
2020-05-27 14:40:09 +08:00
..
cbfs.c cbfs: Adjust return value of file_cbfs_next_file() 2020-05-27 14:40:09 +08:00
Kconfig cbfs: Allow CBFS to be used in SPL 2019-08-18 21:54:10 +08:00
Makefile SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00