On Wed, May 13, 2020 at 10:24 PM Simon Glass <s...@chromium.org> wrote: > > At present his uses a true return to indicate it found a file. Adjust it
typo: this > to use 0 for this, so it is consistent with other functions. > > Update its callers accordingling and add a check for malloc() failure in accordingly > file_cbfs_fill_cache(). > > Signed-off-by: Simon Glass <s...@chromium.org> > --- > > fs/cbfs/cbfs.c | 43 +++++++++++++++++++++++-------------------- > 1 file changed, 23 insertions(+), 20 deletions(-) > Reviewed-by: Bin Meng <bmeng...@gmail.com>