diff options
author | John Zhao <john.zhao@intel.com> | 2020-09-08 09:44:44 -0700 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-09-14 07:03:33 +0000 |
commit | 623da4bc5da225d429d0802f60f1a25b84e31577 (patch) | |
tree | 3f79eb9ea186d03a8b101e71822437342d724e40 /src/mainboard/ti/beaglebone/leds.c | |
parent | d944f1797fe811f1ae89bfeefb8f44b781b5b0a3 (diff) | |
download | coreboot-623da4bc5da225d429d0802f60f1a25b84e31577.tar.xz |
mb/google/volteer: 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 1432491
TEST=None
Signed-off-by: John Zhao <john.zhao@intel.com>
Change-Id: Ife38b1450451cb25e5479760d640375db153e499
Reviewed-on: https://review.coreboot.org/c/coreboot/+/45176
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-by: Caveh Jalali <caveh@chromium.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/mainboard/ti/beaglebone/leds.c')
0 files changed, 0 insertions, 0 deletions