diff options
author | Simon Glass <sjg@chromium.org> | 2020-05-24 17:38:22 -0600 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2020-05-27 14:40:09 +0800 |
commit | 924e346a66ea57f48d6f8467c30d411442229946 (patch) | |
tree | ee443db70ff469b7c94b01e2f8464fe340e99c63 /include/mc13892.h | |
parent | 0e7b6312e7c6780381612fe09a73c77f77e63c2d (diff) |
cbfs: Change file_cbfs_find_uncached() to return an error
This function currently returns a node pointer so there is no way to know
the error code. Also it uses data in BSS which seems unnecessary since the
caller might prefer to use a local variable.
Update the function and split its body out into a separate function so we
can use it later.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'include/mc13892.h')
0 files changed, 0 insertions, 0 deletions