diff options
author | Simon Glass <sjg@chromium.org> | 2020-05-24 17:38:15 -0600 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2020-05-27 14:40:09 +0800 |
commit | c7bef7cf908449c39a23f712644d58a4836e987c (patch) | |
tree | b55addaae14475724d76caff25c387e9cecc0a2b /fs/cbfs/Kconfig | |
parent | 381e1130a2c0cd4cf1d605bf9345673a9240ec30 (diff) |
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>
Diffstat (limited to 'fs/cbfs/Kconfig')
0 files changed, 0 insertions, 0 deletions