[PATCH v3 04/13] cbfs: Adjust return value of file_cbfs_next_file()
bmeng.cn at gmail.com
Sat May 23 15:18:51 CEST 2020
On Sat, May 23, 2020 at 12:32 AM Simon Glass <sjg at chromium.org> wrote:
> At present his uses a true return to indicate it found a file. Adjust it
typo his => this was missed.
> to use 0 for this, so it is consistent with other functions.
> Update its callers accordingly and add a check for malloc() failure in
> Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> Changes in v3:
> - Fix typo in commit message
> Changes in v2: None
> fs/cbfs/cbfs.c | 43 +++++++++++++++++++++++--------------------
> 1 file changed, 23 insertions(+), 20 deletions(-)
More information about the U-Boot