Re: [PATCH 10/13] cbfs: Return the error code from file_cbfs_init()

2020-05-20 Thread Bin Meng
On Wed, May 13, 2020 at 10:24 PM Simon Glass wrote: > > We may as well return the error code and use it directly in the command > code. CBFS still uses its own error enum which we may be able to remove, > but leave it for now. > > Signed-off-by: Simon Glass > --- > > cmd/cbfs.c | 3 +-- > f

[PATCH 10/13] cbfs: Return the error code from file_cbfs_init()

2020-05-13 Thread Simon Glass
We may as well return the error code and use it directly in the command code. CBFS still uses its own error enum which we may be able to remove, but leave it for now. Signed-off-by: Simon Glass --- cmd/cbfs.c | 3 +-- fs/cbfs/cbfs.c | 23 +++ include/cbfs.h | 6 +++---