diff options
author | John Zhao <john.zhao@intel.com> | 2020-08-25 10:21:01 -0700 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-08-31 06:28:45 +0000 |
commit | f90e3b9975f0bd9b09b29c50ac5f7bc36c02eeab (patch) | |
tree | ed0edd231924c4dcd58f1f6d1678c70247255c38 /src/console/vtxprintf.c | |
parent | 66b0c5e8847c818bb7e9ed9748bca729e962202a (diff) |
vendorcode/google: Add error handling
Coverity detects missing error handling after calling function
tlcl_lib_init. This change checks the function tlcl_lib_init return
value and handles error properly.
Found-by: Coverity CID 1431994
TEST=None
Signed-off-by: John Zhao <john.zhao@intel.com>
Change-Id: Ib831646b6a231ad57e3bfef85b801b592d572e6a
Reviewed-on: https://review.coreboot.org/c/coreboot/+/44777
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Caveh Jalali <caveh@chromium.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Diffstat (limited to 'src/console/vtxprintf.c')
0 files changed, 0 insertions, 0 deletions